Kaydet (Commit) 8091d214 authored tarafından Noel Grandin's avatar Noel Grandin

fix bug in SwWrtShell::Insert

ever since
    commit 9ce55608
    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/52447Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 4c9cfd1d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment