sw/source/filter/ww8/ww8par5.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 12e646839d9668dbffaad94074d8a75cde7ac0f5 Author: Tor Lillqvist <t...@collabora.com> Date: Tue Sep 3 18:48:59 2013 +0300 OUString::replaceAll() is not in-place Change-Id: I92c639b8b391dd07c07835241f8530e71ef6e885 diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 8734aee..0c3a0c9 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -1097,7 +1097,7 @@ long SwWW8ImplReader::Read_Field(WW8PLCFManResult* pRes) // Thus, delete character 0x01, which stands for such a graphic. if (aF.nId==51) //#i56768# only do it for the MACROBUTTON field, since DropListFields need the 0x01. { - aStr.replaceAll(OUString(0x01), ""); + aStr = aStr.replaceAll(OUString(0x01), ""); } eF_ResT eRes = (this->*aWW8FieldTab[aF.nId])( &aF, aStr ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits