summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-30 15:30:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-30 15:30:12 +0200
commit6427b84b39d2f31f93615f9499c4a3d683e46a4d (patch)
treee2041b63dd70881f612a9517d38fe788c2600358 /writerfilter
parent8baef341d5a6f6199f4bce2ab88d53b471d7a760 (diff)
loplugin:stringconstant: adapt to improved OUStringLiteral1 (writerfilter)
Change-Id: Ia156b152a5df279d879e91cc0311c2f4da27cd05
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 256e690716bf..cb2e28d19a67 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -2372,8 +2372,7 @@ bool lcl_FindInCommand(
OUString& rValue )
{
bool bRet = false;
- OUString sSearch('\\');
- sSearch += OUString( cSwitch );
+ OUString sSearch = "\\" + OUStringLiteral1( cSwitch );
sal_Int32 nIndex = rCommand.indexOf( sSearch );
if( nIndex >= 0 )
{