Fix the reading of style.xml

Save all the formats <xf>s in order even they are duplicated.
This commit is contained in:
Debao Zhang
2013-11-02 14:29:50 +08:00
parent 8feb738e9f
commit 6279b7e49b
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ public:
Styles(bool createEmpty=false);
~Styles();
Format *createFormat();
void addFormat(Format *format);
void addFormat(Format *format, bool force=false);
Format *xfFormat(int idx) const;
QByteArray saveToXmlData();