diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:53:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:55:33 +0200 |
commit | a77caf49cd2c8382ce06e502822f5d060be20a89 (patch) | |
tree | 98517dc586c5a5e20ca280e72763b5525ca86787 /package | |
parent | e32f18ad3fe12c4c2a52a9b08ea7bb8b9d4c11cd (diff) |
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: Ib9bf6e0919ee0cab02d826859317ea20cb64cabb
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/zipfileaccess.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/source/zippackage/zipfileaccess.cxx b/package/source/zippackage/zipfileaccess.cxx index ccd07465e8e3..163f1e2350a2 100644 --- a/package/source/zippackage/zipfileaccess.cxx +++ b/package/source/zippackage/zipfileaccess.cxx @@ -85,18 +85,18 @@ uno::Sequence< OUString > OZipFileAccess::GetPatternsFromString_Impl( const OUSt if ( *pString == (sal_Unicode)'\\' ) { - aPattern[nInd] += OUString( (sal_Unicode)'\\' ); + aPattern[nInd] += "\\"; pString++; } else if ( *pString == (sal_Unicode)'*' ) { - aPattern[nInd] += OUString( (sal_Unicode)'*' ); + aPattern[nInd] += "*"; pString++; } else { OSL_FAIL( "The backslash is not guarded!\n" ); - aPattern[nInd] += OUString( (sal_Unicode)'\\' ); + aPattern[nInd] += "\\"; } } else if ( *pString == (sal_Unicode)'*' ) |