r24316 by jghali - Fix build error with gcc

scribus-commit scribus-commit at lists.scribus.net
Wed Dec 9 15:47:16 UTC 2020


Author: jghali
Date: Wed Dec  9 15:47:16 2020
New Revision: 24316

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24316
Log:
Fix build error with gcc

Modified:
    trunk/Scribus/scribus/plugins/gettext/sxwim/stylereader.cpp

Modified: trunk/Scribus/scribus/plugins/gettext/sxwim/stylereader.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24316&path=/trunk/Scribus/scribus/plugins/gettext/sxwim/stylereader.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/sxwim/stylereader.cpp	(original)
+++ trunk/Scribus/scribus/plugins/gettext/sxwim/stylereader.cpp	Wed Dec  9 15:47:16 2020
@@ -163,7 +163,7 @@
 		QString key;
 		QString family;
 		QString style;
-		for (auto& attr = attrs.cbegin(); attr != attrs.cend(); ++attr)
+		for (auto attr = attrs.cbegin(); attr != attrs.cend(); ++attr)
 		{
 			QString attrName = attr.key();
 			if (attrName == "style:name")




More information about the scribus-commit mailing list