Kaydet (Commit) 966ab5cd authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

fdo#61166 text format: correctly chain the formatter->getOutputString calls

cf commit 271b11a3, copy/paste error

Change-Id: I9a5391cd9d77d181026abffa3ea2f036c7009ade
üst 0bacc397
...@@ -954,7 +954,7 @@ void FormattedField::ImplSetValue(double dVal, sal_Bool bForce) ...@@ -954,7 +954,7 @@ void FormattedField::ImplSetValue(double dVal, sal_Bool bForce)
ImplGetFormatter()->GetOutputString(dVal, 0, sTemp, &m_pLastOutputColor); ImplGetFormatter()->GetOutputString(dVal, 0, sTemp, &m_pLastOutputColor);
// dann den String entsprechend dem Text-Format // dann den String entsprechend dem Text-Format
{ {
OUString sTempIn(m_sCurrentTextValue); OUString sTempIn(sTemp);
OUString sTempOut; OUString sTempOut;
ImplGetFormatter()->GetOutputString(sTempIn, m_nFormatKey, sTempOut, &m_pLastOutputColor); ImplGetFormatter()->GetOutputString(sTempIn, m_nFormatKey, sTempOut, &m_pLastOutputColor);
sNewText = sTempOut; sNewText = sTempOut;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment