summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-12 10:22:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-12 10:22:33 +0100
commit1be14f1a0085e7895cc1201504d5e57715494dfb (patch)
treead63831f8f3779978cd44a73bf6addd9a1166afe /cppuhelper
parent85bcf0616009853ef57dd019b53fc811b3311be9 (diff)
cppuhelper: Use appropriate OUString functions on string constants
Change-Id: I7957898ed3172e79888bdb793e304359b10d75d7
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/factory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index 29100b60e70d..e288dad52fbd 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -790,9 +790,9 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory()
if( nPos != -1 )
{
aActivatorName = aLocation.copy( 0, nPos );
- if( aActivatorName.equalsAscii( "java" ) )
+ if( aActivatorName == "java" )
aActivatorName = "com.sun.star.loader.Java";
- else if( aActivatorName.equalsAscii( "module" ) )
+ else if( aActivatorName == "module" )
aActivatorName = "com.sun.star.loader.SharedLibrary";
aLocation = aLocation.copy( nPos + 3 );
}