r17532 by jghali - #10728: Text frame linkage breaks across Scribus versions
scribus-commit
scribus-commit at lists.scribus.net
Fri Jun 1 11:38:40 UTC 2012
Author: jghali
Date: Fri Jun 1 11:38:39 2012
New Revision: 17532
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17532
Log:
#10728: Text frame linkage breaks across Scribus versions
Modified:
trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
Modified: trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17532&path=/trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp Fri Jun 1 11:38:39 2012
@@ -414,12 +414,12 @@
if (tagName == "PAGEOBJECT")
{
if (itemInfo.nextItem != -1)
- itemNext[m_Doc->DocItems.count()] = itemInfo.nextItem;
+ itemNext[itemInfo.ownNr] = itemInfo.nextItem;
}
else if (tagName == "MASTEROBJECT")
{
if (itemInfo.nextItem != -1)
- itemNextM[m_Doc->MasterItems.count()] = itemInfo.nextItem;
+ itemNextM[itemInfo.ownNr] = itemInfo.nextItem;
}
/* not sure if we want that...
else if (tagName == "FRAMEOBJECT")
More information about the scribus-commit
mailing list