diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-05 10:17:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-06 08:50:57 +0200 |
commit | 8091d2142e52447f4d880c979079dd1c2c2e1236 (patch) | |
tree | 2e18c0d5a05885565f07f778ba7048a749f4c01b /sw | |
parent | 4c9cfd1d748447740b342171eeb62addce015e34 (diff) |
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@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |