r16534 by jghali - circumvent GCC value to reference conversion bug

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 27 20:01:20 CEST 2011


Author: jghali
Date: Sun Mar 27 18:01:19 2011
New Revision: 16534

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

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

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16534&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 Sun Mar 27 18:01:19 2011
@@ -328,7 +328,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