diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-04-06 19:49:53 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 20:03:42 +0200 |
commit | d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f (patch) | |
tree | b5a12df1fcae025715633469b75ab4c9b6f6d279 /cpputools | |
parent | I suspect the logic is supposed to be the other way around. (diff) | |
download | core-d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f.tar.gz core-d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f.zip |
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'cpputools')
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index a3ea100c3014..a522f2de53b7 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -534,9 +534,7 @@ Reference< XInterface > OInstanceProvider::getInstance( const OUString & rName ) if (_aImplName.isEmpty() && _aServiceName.isEmpty()) { - OSL_ASSERT( - rName.equalsAsciiL( - RTL_CONSTASCII_STRINGPARAM("uno.ComponentContext") ) ); + OSL_ASSERT( rName == "uno.ComponentContext" ); xRet = _xContext; } else if (_bSingleInstance) |