summaryrefslogtreecommitdiff
path: root/cppuhelper/source/implbase_ex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/implbase_ex.cxx')
-rw-r--r--cppuhelper/source/implbase_ex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/implbase_ex.cxx b/cppuhelper/source/implbase_ex.cxx
index 2e5e9523eb3a..1759c4a72af4 100644
--- a/cppuhelper/source/implbase_ex.cxx
+++ b/cppuhelper/source/implbase_ex.cxx
@@ -72,7 +72,7 @@ static inline void checkInterface( Type const & rType )
//--------------------------------------------------------------------------------------------------
static inline bool isXInterface( rtl_uString * pStr ) SAL_THROW(())
{
- return (((OUString const *)&pStr)->equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.uno.XInterface") ) != sal_False);
+ return (*((OUString const *)&pStr) == "com.sun.star.uno.XInterface");
}
//--------------------------------------------------------------------------------------------------
static inline void * makeInterface( sal_IntPtr nOffset, void * that ) SAL_THROW(())