diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2009-11-16 11:40:47 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2009-11-16 11:40:47 -0500 |
commit | 528e85dacb2834de639e666d7422092daaaadeae (patch) | |
tree | 8752fa20c0343ecc16c0867df3418d6b21d19619 /sc/inc/docoptio.hxx | |
parent | a02a44429145de0a67f3b75656f10b146490feec (diff) |
#i26826# #i46511# initial implementation of automatic decimal adjustment.
Just applied patches from ooo-build. There still may be issues that need
to be worked out.
Diffstat (limited to 'sc/inc/docoptio.hxx')
-rw-r--r-- | sc/inc/docoptio.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx index 325060f0c05a..408ff15d8374 100644 --- a/sc/inc/docoptio.hxx +++ b/sc/inc/docoptio.hxx @@ -41,7 +41,7 @@ class SC_DLLPUBLIC ScDocOptions { double fIterEps; // Epsilon-Wert dazu USHORT nIterCount; // Anzahl - USHORT nPrecStandardFormat; // Nachkommastellen Standard + sal_uInt16 nPrecStandardFormat; // precision for standard format USHORT nDay; // Nulldatum: USHORT nMonth; USHORT nYear; @@ -89,8 +89,8 @@ public: inline int operator==( const ScDocOptions& rOpt ) const; inline int operator!=( const ScDocOptions& rOpt ) const; - USHORT GetStdPrecision() const { return nPrecStandardFormat; } - void SetStdPrecision( USHORT n ) { nPrecStandardFormat = n; } + sal_uInt16 GetStdPrecision() const { return nPrecStandardFormat; } + void SetStdPrecision( sal_uInt16 n ) { nPrecStandardFormat = n; } BOOL IsCalcAsShown() const { return bCalcAsShown; } void SetCalcAsShown( BOOL bVal ) { bCalcAsShown = bVal; } |