loplugin:stringconstant: adapt to improved OUStringLiteral1 (writerfilter)

Change-Id: Ia156b152a5df279d879e91cc0311c2f4da27cd05
This commit is contained in:
Stephan Bergmann 2016-08-30 15:30:12 +02:00
parent 8baef341d5
commit 6427b84b39

View File

@ -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 )
{