summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-02-26 14:58:33 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-02-26 14:58:33 +0100
commit67d01fb5d4010a2486e47cdd9f55f38a2da162f2 (patch)
treec09e96419606c85bd2c6175a8a5d7a159dff063d /sax
parent67c953e5a311bd2ab176b51341659b323e4f0ab4 (diff)
Avoid temporary rtl::OUString
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/sax_expat.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx
index 677b7f59c8a2..487de5d6df34 100644
--- a/sax/source/expatwrap/sax_expat.cxx
+++ b/sax/source/expatwrap/sax_expat.cxx
@@ -1041,8 +1041,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL expwrap_component_getFactory(
OUString aImplementationName = OUString::createFromAscii( pImplName );
- if (aImplementationName ==
- OUString( RTL_CONSTASCII_USTRINGPARAM( IMPLEMENTATION_NAME ) ) )
+ if (aImplementationName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( IMPLEMENTATION_NAME ) ) )
{
xRet = createSingleFactory( xSMgr, aImplementationName,
SaxExpatParser_CreateInstance,