diff options
author | Justin Luth <justin_luth@sil.org> | 2015-09-30 18:20:12 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-01 08:06:24 +0000 |
commit | c1e0a697a70872ef1b6deaf5222538899554221b (patch) | |
tree | 8640224e4fbd883053597a2514667d3dfce004fb | |
parent | 52ea9712c424e3647fb67631806b8661baeaa150 (diff) |
replace hardcoded string with STR_YIELDS
Change-Id: I7e72f4e16744b6750a57d66e768103ffc11fc352
Reviewed-on: https://gerrit.libreoffice.org/19036
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/uibase/shells/textsh1.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index 3aef579dcf8c..6b816cee86a3 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -115,6 +115,7 @@ #include <svx/nbdtmgfact.hxx> #include <svx/nbdtmg.hxx> #include <SwRewriter.hxx> +#include <comcore.hrc> #include <svx/svdmodel.hxx> #include <svx/drawitem.hxx> #include <numrule.hxx> @@ -305,7 +306,7 @@ void SwTextShell::Execute(SfxRequest &rReq) { SwRewriter aRewriter; aRewriter.AddRule( UndoArg1, aToggle.StringToReplace() ); - aRewriter.AddRule( UndoArg2, "->" ); + aRewriter.AddRule( UndoArg2, SW_RES(STR_YIELDS) ); aRewriter.AddRule( UndoArg3, sReplacement ); rWrtSh.StartUndo(UNDO_REPLACE, &aRewriter); rWrtSh.GetCrsr()->Normalize(false); |