summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-03-06 17:52:28 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2013-03-06 17:54:39 +0100
commit966ab5cd805d403f1dec73bb1a452b9ed38348d5 (patch)
tree8c6e5e74334a538de71a8a703797a6cd94178b0a /svtools
parent0bacc397742c094c8f74ea7354cae4143afb2bb6 (diff)
fdo#61166 text format: correctly chain the formatter->getOutputString calls
cf commit 271b11a3d56ba0c5f542a142ab859a0819530dba, copy/paste error Change-Id: I9a5391cd9d77d181026abffa3ea2f036c7009ade
Diffstat (limited to 'svtools')
-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;