[Libreoffice-commits] core.git: sw/source
Noel Grandin
noel.grandin at collabora.co.uk
Fri Apr 6 06:51:18 UTC 2018
sw/source/uibase/wrtsh/wrtsh1.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8091d2142e52447f4d880c979079dd1c2c2e1236
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Thu Apr 5 10:17:44 2018 +0200
fix bug in SwWrtShell::Insert
ever since
commit 9ce556080fe4b4a1810653aa45d06e9cb34274b0
Date: Tue May 18 13:13:46 2004 +0000
INTEGRATION: CWS swundo01 (1.22.126); FILE MERGED
found by my unusedvariablesmore plugin
Change-Id: I6cc1e7959cabf6452a37829482600f38a90cd993
Reviewed-on: https://gerrit.libreoffice.org/52447
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx
index 12a2c158da63..8430b4937589 100644
--- a/sw/source/uibase/wrtsh/wrtsh1.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -214,7 +214,7 @@ void SwWrtShell::Insert( const OUString &rStr )
aTmpStr += rStr;
aTmpStr += SwResId(STR_END_QUOTE);
- aRewriter.AddRule(UndoArg3, rStr);
+ aRewriter.AddRule(UndoArg3, aTmpStr);
}
StartUndo(SwUndoId::REPLACE, &aRewriter);
More information about the Libreoffice-commits
mailing list