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/source/ui/docshell/docsh8.cxx | |
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/source/ui/docshell/docsh8.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh8.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx index b761dd75d9df..cb9d625da70c 100644 --- a/sc/source/ui/docshell/docsh8.cxx +++ b/sc/source/ui/docshell/docsh8.cxx @@ -597,7 +597,7 @@ void lcl_GetColumnTypes( ScDocShell& rDocShell, else if ( nDbType == sdbc::DataType::DECIMAL ) { // maximale Feldbreite und Nachkommastellen bestimmen xub_StrLen nLen; - USHORT nPrec; + sal_uInt16 nPrec; nLen = pDoc->GetMaxNumberStringLen( nPrec, nTab, nCol, nFirstDataRow, nLastRow ); // dBaseIII Limit Nachkommastellen: 15 |