svtools/source/control/fmtfield.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8a203e4996979fd9be3eba835fb84dd005ac3f69 Author: Lionel Elie Mamane <[email protected]> Date: Wed Mar 6 17:52:28 2013 +0100 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 <[email protected]> Tested-by: Norbert Thiebaud <[email protected]> diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx index 181bc71..6c0258b 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; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
