loplugin:stringconstant: adapt to improved OUStringLiteral1 (scaddins)
Change-Id: I30a66d2ff5233d6a2a6ec076e188f75a74843cc7
This commit is contained in:
parent
d488a646b5
commit
7a63e5f69a
@ -2179,8 +2179,7 @@ sal_Int16 ConvertData::GetMatchingLevel( const OUString& rRef ) const
|
||||
if( nIndex > 0 && nIndex == ( nLen - 2 ) )
|
||||
{
|
||||
const sal_Unicode* p = aStr.getStr();
|
||||
aStr = OUString( p, nLen - 2 );
|
||||
aStr += OUString( p[ nLen - 1 ] );
|
||||
aStr = OUString( p, nLen - 2 ) + OUStringLiteral1( p[ nLen - 1 ] );
|
||||
}
|
||||
if( aName.equals( aStr ) )
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user