summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-25 12:36:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-25 12:38:35 +0200
commit8987a2920cc638939c3d5beb0f80c9bd6a13f3d5 (patch)
tree031dd8018aa52efef5d34bf83c4afd397c6ca6d1 /editeng
parent68c09b05f00a224872b8ce962f144bf6d8ccbe78 (diff)
loplugin:stringconstant: Flag more inefficiencies
Change-Id: Ie217f99961c6f2c224d1c01beaf0146a4ea3e0c2
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 484ba380bf9d..6037249bf076 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -1418,7 +1418,7 @@ void ImpEditView::Paste( ::com::sun::star::uno::Reference< ::com::sun::star::dat
OUString aTmpText;
aData >>= aTmpText;
OUString aText(convertLineEnd(aTmpText, LINEEND_LF));
- aText = aText.replaceAll( OUString(LINE_SEP), " " );
+ aText = aText.replaceAll( OUStringLiteral1<LINE_SEP>(), " " );
aSel = pEditEngine->InsertText(aSel, aText);
}
catch( ... )