diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-03-06 17:52:28 +0100 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-03-06 18:08:48 +0000 |
commit | 8a203e4996979fd9be3eba835fb84dd005ac3f69 (patch) | |
tree | 6cb58432865e731d25e505840e114173e22b896f /svtools/source | |
parent | d9eadf9c6ee92ee1e43fb453a3a1bffc0364d76f (diff) |
fdo#61166 text format: correctly chain the formatter->getOutputString calls
cf commit 271b11a3d56ba0c5f542a142ab859a0819530dba, copy/paste error
Change-Id: I9a5391cd9d77d181026abffa3ea2f036c7009ade
Reviewed-on: https://gerrit.libreoffice.org/2570
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/fmtfield.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx index 181bc7166dc6..6c0258b8cfbc 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; |