[PATCH libreoffice-4-0] fdo#61166 text format: correctly chain the formatter->getOut...

Lionel Elie Mamane (via Code Review) gerrit at gerrit.libreoffice.org
Wed Mar 6 08:57:04 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2570

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/70/2570/1

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

cf commit 271b11a3d56ba0c5f542a142ab859a0819530dba, copy/paste error

Change-Id: I9a5391cd9d77d181026abffa3ea2f036c7009ade
---
M svtools/source/control/fmtfield.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



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 @@
         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;

-- 
To view, visit https://gerrit.libreoffice.org/2570
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a5391cd9d77d181026abffa3ea2f036c7009ade
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Lionel Elie Mamane <lionel at mamane.lu>



More information about the LibreOffice mailing list