r18320 by fschmid - Fix incorrect resizing in AdjustItemSize()

scribus-commit scribus-commit at lists.scribus.net
Sat Jun 15 20:04:31 UTC 2013


Author: fschmid
Date: Sat Jun 15 20:04:31 2013
New Revision: 18320

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18320
Log:
Fix incorrect resizing in AdjustItemSize()

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18320&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Sat Jun 15 20:04:31 2013
@@ -14417,12 +14417,11 @@
 			currItem->moveImageInFrame(-tp2.x()/currItem->imageXScale(), 0);
 		if (!currItem->imageFlippedV())
 			currItem->moveImageInFrame(0, -tp2.y()/currItem->imageYScale());
-		FPoint tp(clipRect.right(), clipRect.bottom());
+		FPoint tp(clipRect.width(), clipRect.height());
 		if (currItem->imageFlippedH())
 			currItem->moveImageInFrame((currItem->width() - tp.x())/currItem->imageXScale(), 0);
 		if (currItem->imageFlippedV())
 			currItem->moveImageInFrame(0, (currItem->height() - tp.y())/currItem->imageYScale());
-		SizeItem(tp.x(), tp.y(), currItem, true, false);
 		currItem->PoLine = Clip.copy();
 		if ((currItem->isGroup() || currItem->isSymbol()) && includeGroup)
 		{




More information about the scribus-commit mailing list