r19734 by jghali - #12884: Crash while importing SLA document

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 5 13:00:47 UTC 2015


Author: jghali
Date: Mon Jan  5 13:00:47 2015
New Revision: 19734

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19734
Log:
#12884: Crash while importing SLA document

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19734&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp Mon Jan  5 13:00:47 2015
@@ -6123,14 +6123,6 @@
 						WeldID.insert(itemInfo.ownWeld, itemInfo.item);
 					}
 				}
-				if (tagName == "FRAMEOBJECT")
-				{
-					if (newItem->inlineCharID == -1)
-						FrameItems.append(m_Doc->Items->takeAt(m_Doc->Items->indexOf(newItem)));
-					else
-						m_Doc->FrameItems.insert(newItem->inlineCharID, m_Doc->Items->takeAt(m_Doc->Items->indexOf(newItem)));
-					newItem->LayerID = m_Doc->firstLayerID();
-				}
 				if (groupStack.count() > 0)
 				{
 					groupStack.top().append(itemInfo.item);




More information about the scribus-commit mailing list