summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshe.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-25 12:37:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-25 12:38:37 +0200
commitcb0a4a43a52b2f9230dc676e8ffc8700d006ec0c (patch)
tree8a9c36cf6e13c9b35f9b3881f4813a4235f50d83 /sc/source/ui/view/tabvwshe.cxx
parent327001c7575661a6dd2968a7375dc1eeed58ab2a (diff)
loplugin:stringconstant: Flag more inefficiencies
Change-Id: Icdd850336caf998e62cdb5a90fc3683eddd04a3e
Diffstat (limited to 'sc/source/ui/view/tabvwshe.cxx')
-rw-r--r--sc/source/ui/view/tabvwshe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx
index d2298c25cd93..d26475c63816 100644
--- a/sc/source/ui/view/tabvwshe.cxx
+++ b/sc/source/ui/view/tabvwshe.cxx
@@ -107,7 +107,7 @@ OUString ScTabViewShell::GetSelectionText( bool bWholeWord )
if ( bInFormatDialog || bWholeWord || aRange.aEnd.Row() == aRange.aStart.Row() )
{
- aStrSelection = aStrSelection.replaceAll(OUString(CHAR_CR), " ");
+ aStrSelection = aStrSelection.replaceAll(OUStringLiteral1<CHAR_CR>(), " ");
aStrSelection = aStrSelection.replaceAll("\t", " ");
aStrSelection = comphelper::string::stripEnd(aStrSelection, ' ');
}