diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-23 21:47:18 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-23 21:55:09 +0200 |
commit | 3f0b5770790dfcb408d169df1265546d6e8e3ece (patch) | |
tree | 90acf2110494ad68e40c0f1b0f65f5b88a588c60 /sc/source/filter | |
parent | b9a07c37557b70ff6df39798d64ce79c1e59d492 (diff) |
we don't need this hack without inherited number formats, fdo#66076
Change-Id: If315ce28a4182019002141c7330475e0843f9a40
Diffstat (limited to 'sc/source/filter')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 1e838a0f350c..0fef98fac854 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -993,10 +993,7 @@ void ScXMLTableRowCellContext::SetFormulaCell(ScFormulaCell* pFCell) const } else if (!rtl::math::isNan(fValue)) { - if (mbEditEngineHasText) - pFCell->SetHybridValueString(fValue, mpEditEngine->GetText(0)); - else - pFCell->SetHybridDouble(fValue); + pFCell->SetHybridDouble(fValue); pFCell->ResetDirty(); } pFCell->StartListeningTo(rXMLImport.GetDocument()); |