r16978 by jghali - #10377: Scribus 1.5 crash during openning 1.4 file

scribus-commit scribus-commit at lists.scribus.net
Tue Nov 15 21:22:57 UTC 2011


Author: jghali
Date: Tue Nov 15 21:22:57 2011
New Revision: 16978

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16978
Log:
#10377: Scribus 1.5 crash during openning 1.4 file

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16978&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Tue Nov 15 21:22:57 2011
@@ -5510,7 +5510,7 @@
 	uint docItemCount = Items->count();
 	for (uint i = 0; i < docItemCount; ++i)
 	{
-		PageItem *currItem = DocItems.at(i);
+		PageItem *currItem = Items->at(i);
 		if (currItem->isGroup())
 			allItems = currItem->asGroupFrame()->getItemList();
 		else




More information about the scribus-commit mailing list