[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/source
Stephan Bergmann
sbergman at redhat.com
Tue May 20 05:30:02 PDT 2014
sw/source/filter/ww8/writerwordglue.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4a86cd75a8e83b6910c5285812e86bf6575fa92b
Author: Stephan Bergmann <sbergman at 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;
More information about the Libreoffice-commits
mailing list