summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unovwr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unovwr.cxx')
-rw-r--r--sw/source/core/undo/unovwr.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/core/undo/unovwr.cxx b/sw/source/core/undo/unovwr.cxx
index c5173a496454..0fc1ee2d3100 100644
--- a/sw/source/core/undo/unovwr.cxx
+++ b/sw/source/core/undo/unovwr.cxx
@@ -312,10 +312,9 @@ SwRewriter SwUndoOverwrite::GetRewriter() const
{
SwRewriter aResult;
- OUString aString = SwResId(STR_START_QUOTE);
- aString += ShortenString(aInsStr, nUndoStringLength,
- SwResId(STR_LDOTS));
- aString += SwResId(STR_END_QUOTE);
+ OUString aString = SwResId(STR_START_QUOTE) +
+ ShortenString(aInsStr, nUndoStringLength, SwResId(STR_LDOTS)) +
+ SwResId(STR_END_QUOTE);
aResult.AddRule(UndoArg1, aString);