diff options
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()); |