diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-02-26 14:58:33 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-02-26 14:58:33 +0100 |
commit | 67d01fb5d4010a2486e47cdd9f55f38a2da162f2 (patch) | |
tree | c09e96419606c85bd2c6175a8a5d7a159dff063d /sal/test | |
parent | 67c953e5a311bd2ab176b51341659b323e4f0ab4 (diff) |
Avoid temporary rtl::OUString
Diffstat (limited to 'sal/test')
-rw-r--r-- | sal/test/unloading/unloadTest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/test/unloading/unloadTest.cxx b/sal/test/unloading/unloadTest.cxx index 866a649ec588..355fa47079e0 100644 --- a/sal/test/unloading/unloadTest.cxx +++ b/sal/test/unloading/unloadTest.cxx @@ -560,7 +560,7 @@ sal_Bool test8() for( sal_Int32 i=0; i<seqTypes.getLength(); i++) { OUString name= seqTypes[i].getTypeName(); - if( name == OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uno.XUnloadingPreference"))) + if( name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.uno.XUnloadingPreference"))) b_ifaceSupported= sal_True; } |