diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-21 14:27:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-22 08:07:18 +0200 |
commit | 071c3f3e93c4c00cf57ce3c382325cd717fed511 (patch) | |
tree | e33a2586b719137ba2521675704562673e1d5168 /cpputools | |
parent | 2241fd5302c1ec83c8cbaa2422a477628a569aab (diff) |
remove unnecessary use of OUString constructor in equalsIgnoreAsciiCase
Convert code like:
sType.equalsIgnoreAsciiCase(OUString("VIEW"));
to:
sType.equalsIgnoreAsciiCase("VIEW");
Change-Id: I6fb47e6a83b561c7e5a25da76b63606a3174858d
Diffstat (limited to 'cpputools')
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index e02003a995e9..d7dc202b6e8a 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -479,7 +479,7 @@ SAL_IMPLEMENT_MAIN() sal_Int32 nIndex = 0, nTokens = 0; do { aUnoUrl.getToken( 0, ';', nIndex ); nTokens++; } while( nIndex != -1 ); if (nTokens != 3 || aUnoUrl.getLength() < 10 || - !aUnoUrl.copy( 0, 4 ).equalsIgnoreAsciiCase( OUString("uno:") )) + !aUnoUrl.copy( 0, 4 ).equalsIgnoreAsciiCase( "uno:" )) { throw RuntimeException("illegal uno url given!", Reference< XInterface >() ); } |