svtools/source/control/fmtfield.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 966ab5cd805d403f1dec73bb1a452b9ed38348d5 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 diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx index b580109..a37ab98 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
