diff options
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 2 | ||||
-rw-r--r-- | sax/source/fastparser/facreg.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index 487de5d6df34..1e3d04d87215 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -1041,7 +1041,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL expwrap_component_getFactory( OUString aImplementationName = OUString::createFromAscii( pImplName ); - if (aImplementationName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( IMPLEMENTATION_NAME ) ) ) + if ( aImplementationName == IMPLEMENTATION_NAME ) { xRet = createSingleFactory( xSMgr, aImplementationName, SaxExpatParser_CreateInstance, diff --git a/sax/source/fastparser/facreg.cxx b/sax/source/fastparser/facreg.cxx index 35db3e14ae18..308268455443 100644 --- a/sax/source/fastparser/facreg.cxx +++ b/sax/source/fastparser/facreg.cxx @@ -52,13 +52,13 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL fastsax_component_getFactory( OUString aImplementationName( OUString::createFromAscii( pImplName ) ); - if (aImplementationName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( PARSER_IMPLEMENTATION_NAME ) ) ) + if ( aImplementationName == PARSER_IMPLEMENTATION_NAME ) { xRet = createSingleFactory( xSMgr, aImplementationName, FastSaxParser_CreateInstance, FastSaxParser::getSupportedServiceNames_Static() ); } - else if (aImplementationName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( SERIALIZER_IMPLEMENTATION_NAME ) ) ) + else if ( aImplementationName == SERIALIZER_IMPLEMENTATION_NAME ) { xRet = createSingleFactory( xSMgr, aImplementationName, FastSaxSerializer_CreateInstance, |