diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-08-13 14:20:13 -0400 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-08-14 12:49:59 +0200 |
commit | 22571981cdae59bce508dfd2af4c873aa216d885 (patch) | |
tree | fa1f81241f90363e634c0a646bda548cb703cdd1 /sc/source/filter | |
parent | b5edfe152737650772504dc6464dbbb2f607f453 (diff) |
fdo#53089: Avoid setting valid numbers as text during html import.
(cherry picked from commit 51f1fc69aa539dec8035195b98e0b128026388e9)
Conflicts:
sc/qa/unit/ucalc.cxx
Change-Id: I5fa9a54f70e8e4d8aac42687f2a204b2925d4619
Diffstat (limited to 'sc/source/filter')
-rw-r--r-- | sc/source/filter/rtf/eeimpars.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/rtf/eeimpars.cxx b/sc/source/filter/rtf/eeimpars.cxx index 2ecf7ddca91f..b3bbf8697449 100644 --- a/sc/source/filter/rtf/eeimpars.cxx +++ b/sc/source/filter/rtf/eeimpars.cxx @@ -336,7 +336,7 @@ void ScEEImport::WriteToDocument( bool bSizeColsRows, double nOutputFactor, SvNu ScSetStringParam aParam; aParam.mpNumFormatter = pFormatter; aParam.mbDetectNumberFormat = true; - aParam.mbSetTextCellFormat = true; + aParam.meSetTextNumFormat = ScSetStringParam::SpecialNumberOnly; aParam.mbHandleApostrophe = false; if (!aValStr.isEmpty()) |