summaryrefslogtreecommitdiff
path: root/bridges/source/jni_uno/jni_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/source/jni_uno/jni_info.h')
-rw-r--r--bridges/source/jni_uno/jni_info.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/source/jni_uno/jni_info.h b/bridges/source/jni_uno/jni_info.h
index a356be272e04..f890e49f898d 100644
--- a/bridges/source/jni_uno/jni_info.h
+++ b/bridges/source/jni_uno/jni_info.h
@@ -66,8 +66,7 @@ inline bool type_equals(
inline bool is_XInterface( typelib_TypeDescriptionReference * type )
{
return ((typelib_TypeClass_INTERFACE == type->eTypeClass) &&
- ::rtl::OUString::unacquired( &type->pTypeName ).equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("com.sun.star.uno.XInterface") ));
+ ::rtl::OUString::unacquired( &type->pTypeName ) == "com.sun.star.uno.XInterface");
}
//==============================================================================