diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-09-03 18:48:59 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-09-03 19:37:34 +0300 |
commit | 12e646839d9668dbffaad94074d8a75cde7ac0f5 (patch) | |
tree | f1e38caab23d3ad15dc0b9bac4818f8d978aae52 /sw | |
parent | ecb1850b2d32e509050be9a323cf124fe2af5277 (diff) |
OUString::replaceAll() is not in-place
Change-Id: I92c639b8b391dd07c07835241f8530e71ef6e885
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par5.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 8734aee3ad10..0c3a0c9dd720 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 ); |