loplugin:stringconstant: adapt to improved OUStringLiteral1 (forms)

Change-Id: I25323e586bb80b833d1b2dace5498de853aa039e
This commit is contained in:
Stephan Bergmann
2016-08-30 15:28:09 +02:00
parent 0b288bf8e9
commit 1a212efd3a

View File

@@ -759,7 +759,7 @@ static OUString lcl_serializeForDisplay( const Reference< XAttr >& _rxAttrNode )
if ( sValue.indexOf( nQuote ) >= 0 )
nQuote = '\'';
sResult = _rxAttrNode->getName() + "=" + OUString(nQuote) + sValue + OUString(nQuote) + " ";
sResult = _rxAttrNode->getName() + "=" + OUStringLiteral1(nQuote) + sValue + OUStringLiteral1(nQuote) + " ";
}
return sResult;
}