sw/source/filter/ww8/writerwordglue.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4a86cd75a8e83b6910c5285812e86bf6575fa92b Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon May 19 23:26:22 2014 +0200 -Werror,-Wunused-result Change-Id: Iaa06237d3e554d3a3d9c87f6c5dba715343afa25 (cherry picked from commit 9cf5e4c2500fc5d579896ea08802aba5ca671c96) diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx index 056268e..bafa0f0 100644 --- a/sw/source/filter/ww8/writerwordglue.cxx +++ b/sw/source/filter/ww8/writerwordglue.cxx @@ -812,7 +812,7 @@ namespace sw { const sal_Int32 nFindLen = rFind.getLength(); const sal_Int32 nDiff = rReplace.getLength() - nFindLen; - rParams.replaceAt( nI, nFindLen, rReplace); + rParams = rParams.replaceAt( nI, nFindLen, rReplace); nI += nFindLen + nDiff - 1; nLen += nDiff; bReplaced = true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits