summaryrefslogtreecommitdiff
path: root/bridges/source/jni_uno/jni_java2uno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/source/jni_uno/jni_java2uno.cxx')
-rw-r--r--bridges/source/jni_uno/jni_java2uno.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/source/jni_uno/jni_java2uno.cxx b/bridges/source/jni_uno/jni_java2uno.cxx
index 55674b44dd3d..26b757fa29e5 100644
--- a/bridges/source/jni_uno/jni_java2uno.cxx
+++ b/bridges/source/jni_uno/jni_java2uno.cxx
@@ -425,8 +425,7 @@ JNICALL Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call(
#endif
// special IQueryInterface.queryInterface()
- if (method_name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("queryInterface") ))
+ if ( method_name == "queryInterface" )
{
// oid
JLocalAutoRef jo_oid(