r18642 by fschmid - XPS-Importer: avoid needless large groups in clip groups too

scribus-commit scribus-commit at lists.scribus.net
Wed Dec 11 21:52:55 UTC 2013


Author: fschmid
Date: Wed Dec 11 21:52:55 2013
New Revision: 18642

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18642
Log:
XPS-Importer: avoid needless large groups in clip groups too

Modified:
    trunk/Scribus/scribus/plugins/import/xps/importxps.cpp

Modified: trunk/Scribus/scribus/plugins/import/xps/importxps.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18642&path=/trunk/Scribus/scribus/plugins/import/xps/importxps.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/xps/importxps.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/xps/importxps.cpp Wed Dec 11 21:52:55 2013
@@ -1660,6 +1660,7 @@
 		QList<PageItem*> GElements;
 		GElements.append(retObj);
 		m_Doc->groupObjectsToItem(itemg, GElements);
+		m_Doc->resizeGroupToContents(itemg);
 		m_Doc->GroupOnPage(itemg);
 		retObj = itemg;
 		m_Doc->Items->removeLast();




More information about the scribus-commit mailing list