diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-13 21:57:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-14 09:56:45 +0100 |
commit | 77e481f59551f98dbe1de884016892b95226e3b6 (patch) | |
tree | f685253a49bb7b485d90882422cf0c22a505540d /tools/inc/tools/stream.hxx | |
parent | 94cc09fbd030c03eba8b41314cb5bf0356faaad7 (diff) |
Precision unused
Diffstat (limited to 'tools/inc/tools/stream.hxx')
-rw-r--r-- | tools/inc/tools/stream.hxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx index 418f932fefb4..e2199dbd62a7 100644 --- a/tools/inc/tools/stream.hxx +++ b/tools/inc/tools/stream.hxx @@ -271,10 +271,16 @@ private: // Formatierung von Strings char cFiller; - sal_uInt8 nPrecision; sal_uInt8 nWidth; - sal_uInt8 nPrintfParams; - ByteString aFormatString; + + enum PrintfParams + { + SPECIAL_PARAM_NONE = 0, // Format-Str, Number + SPECIAL_PARAM_WIDTH = 1 // Format-Str, Width, Number + }; + + PrintfParams ePrintfParams; + ByteString aFormatString; // Userdata long nVersion; // for external use @@ -390,9 +396,6 @@ public: SvStream& WriteByteString( const UniString& rStr ) { return WriteByteString( rStr, GetStreamCharSet() ); } SvStream& WriteByteString( const ByteString& rStr ); - void SetPrecision( sal_uInt8 nPrec ) - { nPrecision = nPrec; CreateFormatString(); } - sal_uInt8 GetPrecision() const { return nPrecision; } void SetWidth( sal_uInt8 nWid) { nWidth = nWid; CreateFormatString(); } sal_uInt8 GetWidth() const { return nWidth; } |