summaryrefslogtreecommitdiff
path: root/tools/inc/tools/stream.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-13 21:57:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-14 09:56:45 +0100
commit77e481f59551f98dbe1de884016892b95226e3b6 (patch)
treef685253a49bb7b485d90882422cf0c22a505540d /tools/inc/tools/stream.hxx
parent94cc09fbd030c03eba8b41314cb5bf0356faaad7 (diff)
Precision unused
Diffstat (limited to 'tools/inc/tools/stream.hxx')
-rw-r--r--tools/inc/tools/stream.hxx15
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; }