summaryrefslogtreecommitdiff
path: root/sc/qa/unit
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-08-13 14:20:13 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-08-13 14:22:32 -0400
commit51f1fc69aa539dec8035195b98e0b128026388e9 (patch)
tree849dff14f3b2b3f5b259a233c06b4d74ca9335f8 /sc/qa/unit
parentf97a3a7f51a7de9c2170953ee3969ef48d914e25 (diff)
fdo#53089: Avoid setting valid numbers as text during html import.
Change-Id: I5fa9a54f70e8e4d8aac42687f2a204b2925d4619
Diffstat (limited to 'sc/qa/unit')
-rw-r--r--sc/qa/unit/ucalc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index e8b959b1f36e..8a401e2a9719 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -370,7 +370,7 @@ void Test::testInput()
// Customized string handling policy.
ScSetStringParam aParam;
aParam.mbDetectNumberFormat = false;
- aParam.mbSetTextCellFormat = true;
+ aParam.meSetTextNumFormat = ScSetStringParam::Always;
aParam.mbHandleApostrophe = false;
m_pDoc->SetString(0, 0, 0, "000123", &aParam);
m_pDoc->GetString(0, 0, 0, test);