Kaydet (Commit) a77caf49 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: handle OUString+=OUString(literal)

Change-Id: Ib9bf6e0919ee0cab02d826859317ea20cb64cabb
üst e32f18ad
...@@ -85,18 +85,18 @@ uno::Sequence< OUString > OZipFileAccess::GetPatternsFromString_Impl( const OUSt ...@@ -85,18 +85,18 @@ uno::Sequence< OUString > OZipFileAccess::GetPatternsFromString_Impl( const OUSt
if ( *pString == (sal_Unicode)'\\' ) if ( *pString == (sal_Unicode)'\\' )
{ {
aPattern[nInd] += OUString( (sal_Unicode)'\\' ); aPattern[nInd] += "\\";
pString++; pString++;
} }
else if ( *pString == (sal_Unicode)'*' ) else if ( *pString == (sal_Unicode)'*' )
{ {
aPattern[nInd] += OUString( (sal_Unicode)'*' ); aPattern[nInd] += "*";
pString++; pString++;
} }
else else
{ {
OSL_FAIL( "The backslash is not guarded!\n" ); OSL_FAIL( "The backslash is not guarded!\n" );
aPattern[nInd] += OUString( (sal_Unicode)'\\' ); aPattern[nInd] += "\\";
} }
} }
else if ( *pString == (sal_Unicode)'*' ) else if ( *pString == (sal_Unicode)'*' )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment