Code refactor: Only create FormatPrivate when needed.

This commit is contained in:
Debao Zhang
2013-11-22 16:29:30 +08:00
parent 176160d2a8
commit 9c443c996d
7 changed files with 211 additions and 74 deletions
+4
View File
@@ -243,8 +243,12 @@ private:
void setFontIndex(int index);
QByteArray fontKey() const;
bool hasNumFmtData() const;
bool hasFontData() const;
bool hasFillData() const;
bool hasBorderData() const;
bool hasAlignmentData() const;
bool hasProtectionData() const;
bool borderIndexValid() const;
QByteArray borderKey() const;