summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/control/fmtfield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index b580109846b4..a37ab98aced2 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -954,7 +954,7 @@ void FormattedField::ImplSetValue(double dVal, sal_Bool bForce)
ImplGetFormatter()->GetOutputString(dVal, 0, sTemp, &m_pLastOutputColor);
// dann den String entsprechend dem Text-Format
{
- OUString sTempIn(m_sCurrentTextValue);
+ OUString sTempIn(sTemp);
OUString sTempOut;
ImplGetFormatter()->GetOutputString(sTempIn, m_nFormatKey, sTempOut, &m_pLastOutputColor);
sNewText = sTempOut;