diff options
-rw-r--r-- | bridges/source/jni_uno/jni_info.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bridges/source/jni_uno/jni_info.h b/bridges/source/jni_uno/jni_info.h index c92cd334dbe9..10263b202abf 100644 --- a/bridges/source/jni_uno/jni_info.h +++ b/bridges/source/jni_uno/jni_info.h @@ -82,6 +82,9 @@ struct JNI_interface_type_info : public JNI_type_info virtual void destroy( JNIEnv * jni_env ) SAL_OVERRIDE; explicit JNI_interface_type_info( JNI_context const & jni, typelib_TypeDescription * td ); + +private: + virtual ~JNI_interface_type_info() {} }; struct JNI_compound_type_info : public JNI_type_info @@ -95,6 +98,9 @@ struct JNI_compound_type_info : public JNI_type_info virtual void destroy( JNIEnv * jni_env ) SAL_OVERRIDE; explicit JNI_compound_type_info( JNI_context const & jni, typelib_TypeDescription * td ); + +private: + virtual ~JNI_compound_type_info() {} }; struct JNI_type_info_holder |