r17856 by jghali - #11154: Character styles cannot be imported anymore
scribus-commit
scribus-commit at lists.scribus.net
Tue Nov 6 18:44:20 UTC 2012
Author: jghali
Date: Tue Nov 6 18:44:20 2012
New Revision: 17856
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17856
Log:
#11154: Character styles cannot be imported anymore
Modified:
trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
Modified: trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17856&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 Tue Nov 6 18:44:20 2012
@@ -3532,6 +3532,7 @@
if (tagName == "CHARSTYLE")
{
cstyle.erase();
+ attrs = reader.scAttributes();
readNamedCharacterStyleAttrs(doc, attrs, cstyle);
docCharStyles.create(cstyle);
}
Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17856&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 Tue Nov 6 18:44:20 2012
@@ -6157,6 +6157,7 @@
if (tagName == "CHARSTYLE")
{
cstyle.erase();
+ attrs = reader.scAttributes();
readNamedCharacterStyleAttrs(doc, attrs, cstyle);
docCharStyles.create(cstyle);
}
More information about the scribus-commit
mailing list