summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-21 14:27:06 +0200
committerNoel Grandin <noel@peralex.com>2013-11-22 08:07:18 +0200
commit071c3f3e93c4c00cf57ce3c382325cd717fed511 (patch)
treee33a2586b719137ba2521675704562673e1d5168 /desktop
parent2241fd5302c1ec83c8cbaa2422a477628a569aab (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 'desktop')
-rw-r--r--desktop/source/deployment/registry/help/dp_help.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx
index b7978bf7d598..47dfc2dd6c3b 100644
--- a/desktop/source/deployment/registry/help/dp_help.cxx
+++ b/desktop/source/deployment/registry/help/dp_help.cxx
@@ -590,7 +590,7 @@ void BackendImpl::implCollectXhpFiles( const OUString& aDir,
if( nLastDot != -1 )
{
OUString aExt = aURL.copy( nLastDot + 1 );
- if( aExt.equalsIgnoreAsciiCase( OUString("xhp" ) ) )
+ if( aExt.equalsIgnoreAsciiCase( "xhp" ) )
o_rXhpFileVector.push_back( aURL );
}
}