Kaydet (Commit) 1be14f1a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

cppuhelper: Use appropriate OUString functions on string constants

Change-Id: I7957898ed3172e79888bdb793e304359b10d75d7
üst 85bcf061
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment