summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xehelper.cxx')
-rw-r--r--sc/source/filter/excel/xehelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xehelper.cxx b/sc/source/filter/excel/xehelper.cxx
index e75958935d69..409893e7c68c 100644
--- a/sc/source/filter/excel/xehelper.cxx
+++ b/sc/source/filter/excel/xehelper.cxx
@@ -583,7 +583,7 @@ XclExpStringRef XclExpStringHelper::CreateCellString(
rEE.SetDefaults( std::move(pEEItemSet) ); // edit engine takes ownership
// create the string
- rEE.SetText(rEditText);
+ rEE.SetTextCurrentDefaults(rEditText);
xString = lclCreateFormattedString( rRoot, rEE, &rLinkHelper, nFlags, nMaxLen );
rEE.SetUpdateMode( bOldUpdateMode );