r16533 by jghali - circumvent GCC value to reference conversion bug

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 27 19:58:11 CEST 2011


Author: jghali
Date: Sun Mar 27 17:58:10 2011
New Revision: 16533

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16533
Log:
circumvent GCC value to reference conversion bug

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

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16533&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 Sun Mar 27 17:58:10 2011
@@ -1079,7 +1079,8 @@
 		if (tagName == "CHARSTYLE")
 		{
 			CharStyle cstyle;
-			readNamedCharacterStyleAttrs(m_Doc, reader.scAttributes(), cstyle);
+			ScXmlStreamAttributes attrs = reader.scAttributes();
+			readNamedCharacterStyleAttrs(m_Doc, attrs, cstyle);
 			StyleSet<CharStyle> temp;
 			temp.create(cstyle);
 			m_Doc->redefineCharStyles(temp, false);




More information about the scribus-commit mailing list