diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-04-22 15:38:53 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-04-22 15:38:53 -0400 |
commit | 9ffe84307f6e74d88d09a1515e3950f77332e52c (patch) | |
tree | 60c3564d53e84d20a4593ed84bc4eeb9b907d081 /sc/inc/column.hxx | |
parent | 24a94f592145d44f3824287bb71e210b101314a4 (diff) |
koheiautodecimal: #i111074# When querying max precision, ignore unlimited precision, or use 2 in case all cell's precisions are unlimited.
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r-- | sc/inc/column.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 85567a2a656d..2907e40ab6e6 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -397,8 +397,8 @@ public: void CompileColRowNameFormula(); sal_Int32 GetMaxStringLen( SCROW nRowStart, SCROW nRowEnd, CharSet eCharSet ) const; - xub_StrLen GetMaxNumberStringLen( USHORT& nPrecision, - SCROW nRowStart, SCROW nRowEnd ) const; + xub_StrLen GetMaxNumberStringLen( sal_uInt16& nPrecision, + SCROW nRowStart, SCROW nRowEnd ) const; private: ScBaseCell* CloneCell(SCSIZE nIndex, USHORT nFlags, ScDocument& rDestDoc, const ScAddress& rDestPos); |