summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:39:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:39:56 +0200
commite5b4bda01a81907805113bd03b43ecc2f470500e (patch)
tree8f82f51287cb0c03a2263598cf00639c9d109136 /javaunohelper
parentabf2ad6dae2e98557f3480e3c52d5cb11a40b330 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: Ib1b59e56a32c5675fc728624584fb16b79f03469
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/source/bootstrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/javaunohelper/source/bootstrap.cxx b/javaunohelper/source/bootstrap.cxx
index 537dfbb03710..7a4e2833d33b 100644
--- a/javaunohelper/source/bootstrap.cxx
+++ b/javaunohelper/source/bootstrap.cxx
@@ -139,7 +139,7 @@ jobject Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap(
throw RuntimeException("cannot get mapping C++ <-> Java!" );
}
- jobject jret = static_cast<jobject>(mapping.mapInterface( xContext.get(), ::getCppuType( &xContext ) ));
+ jobject jret = static_cast<jobject>(mapping.mapInterface( xContext.get(), cppu::UnoType<decltype(xContext)>::get() ));
jobject jlocal = jni_env->NewLocalRef( jret );
jni_env->DeleteGlobalRef( jret );