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 /svx/source/xml | |
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 'svx/source/xml')
-rw-r--r-- | svx/source/xml/xmleohlp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx index 6feddd42a055..757adbb798ca 100644 --- a/svx/source/xml/xmleohlp.cxx +++ b/svx/source/xml/xmleohlp.cxx @@ -264,7 +264,7 @@ sal_Bool SvXMLEmbeddedObjectHelper::ImplGetStorageNames( while( nPos >= 0 && nPos < rURLStr.getLength() ) { OUString aToken = rURLStr.getToken( 0, ',', nPos ); - if ( aToken.equalsIgnoreAsciiCase( OUString( "oasis=false" ) ) ) + if ( aToken.equalsIgnoreAsciiCase( "oasis=false" ) ) { if ( pOasisFormat ) *pOasisFormat = sal_False; |