r19943 by fschmid - Fix for incorrect clipping.
scribus-commit
scribus-commit at lists.scribus.net
Sun Mar 22 08:15:25 UTC 2015
Author: fschmid
Date: Sun Mar 22 08:15:25 2015
New Revision: 19943
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19943
Log:
Fix for incorrect clipping.
Modified:
trunk/Scribus/scribus/plugins/import/emf/importemf.cpp
Modified: trunk/Scribus/scribus/plugins/import/emf/importemf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19943&path=/trunk/Scribus/scribus/plugins/import/emf/importemf.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/emf/importemf.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/emf/importemf.cpp Sun Mar 22 08:15:25 2015
@@ -1715,9 +1715,9 @@
ret = false;
if (clipRect.y() < docY)
ret = false;
- if (clipRect.right() > docX + docWidth + 1)
+ if (clipRect.right() > docX + docWidth)
ret = false;
- if (clipRect.bottom() > docY + docHeight + 1)
+ if (clipRect.bottom() > docY + docHeight)
ret = false;
return ret;
}
More information about the scribus-commit
mailing list