diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-03-03 15:05:28 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-03-03 15:05:28 +0100 |
commit | 5122196acc2e8e9d8e71dad3d941b373b09e0b03 (patch) | |
tree | a5bd8612eb35c772378f064813c8b8c64cf5a739 /sax | |
parent | 39c2a52d198f513c2f5afbd38dd9b14bff388d6e (diff) |
Avoid temporary rtl::OUString
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/fastparser/facreg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/fastparser/facreg.cxx b/sax/source/fastparser/facreg.cxx index 2f0eba35ff7d..35db3e14ae18 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 == OUString( RTL_CONSTASCII_USTRINGPARAM( PARSER_IMPLEMENTATION_NAME ) ) ) + if (aImplementationName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( PARSER_IMPLEMENTATION_NAME ) ) ) { xRet = createSingleFactory( xSMgr, aImplementationName, FastSaxParser_CreateInstance, FastSaxParser::getSupportedServiceNames_Static() ); } - else if (aImplementationName == OUString( RTL_CONSTASCII_USTRINGPARAM( SERIALIZER_IMPLEMENTATION_NAME ) ) ) + else if (aImplementationName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( SERIALIZER_IMPLEMENTATION_NAME ) ) ) { xRet = createSingleFactory( xSMgr, aImplementationName, FastSaxSerializer_CreateInstance, |