summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/docoptio.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-04-12 15:45:51 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-04-12 15:45:51 -0400
commit4f0c1853cde2a99e8993b4f14d852a98357fd81e (patch)
treee7ecf2fd8216e3a900cae386052956cd26e7c43e /sc/source/core/tool/docoptio.cxx
parent7bc8414f4c19cf5641600605de97b8adb2e5b860 (diff)
koheiautodecimal: #i110634# Don't export negative decimal-places esp. when the standard precision is "unlimited" (i.e. has an internval value of 65535 which would become -1 whne casted to *signed* 16-bit integer).
Diffstat (limited to 'sc/source/core/tool/docoptio.cxx')
-rw-r--r--sc/source/core/tool/docoptio.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/docoptio.cxx b/sc/source/core/tool/docoptio.cxx
index 37e6c68fbf03..b8a5654ed6fe 100644
--- a/sc/source/core/tool/docoptio.cxx
+++ b/sc/source/core/tool/docoptio.cxx
@@ -118,7 +118,7 @@ void ScDocOptions::ResetDocOptions()
bIsIter = FALSE;
nIterCount = 100;
fIterEps = 1.0E-3;
- nPrecStandardFormat = 2;
+ nPrecStandardFormat = SvNumberFormatter::UNLIMITED_PRECISION;
nDay = 30;
nMonth = 12;
nYear = 1899;