diff options
-rw-r--r-- | include/jvmaccess/classpath.hxx | 8 | ||||
-rw-r--r-- | include/jvmaccess/unovirtualmachine.hxx | 4 | ||||
-rw-r--r-- | include/jvmaccess/virtualmachine.hxx | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/include/jvmaccess/classpath.hxx b/include/jvmaccess/classpath.hxx index aed2c8b4fd95..f412fd59a4aa 100644 --- a/include/jvmaccess/classpath.hxx +++ b/include/jvmaccess/classpath.hxx @@ -111,10 +111,10 @@ public: } private: - ClassPath(); // not defined - ClassPath(ClassPath &); // not defined - ~ClassPath(); // not defined - void operator =(ClassPath &); // not defined + ClassPath() SAL_DELETED_FUNCTION; //TODO: get rid of this class + ClassPath(ClassPath &) SAL_DELETED_FUNCTION; + ~ClassPath() SAL_DELETED_FUNCTION; + void operator =(ClassPath &) SAL_DELETED_FUNCTION; // Functions that replace JNIEnv, jobjectArray, and jclass with void *, so // that their mangled C++ names do not depend on the JDK version used at diff --git a/include/jvmaccess/unovirtualmachine.hxx b/include/jvmaccess/unovirtualmachine.hxx index 323cad717738..5b0e785dec23 100644 --- a/include/jvmaccess/unovirtualmachine.hxx +++ b/include/jvmaccess/unovirtualmachine.hxx @@ -88,8 +88,8 @@ public: void * getClassLoader() const { return m_classLoader;} private: - UnoVirtualMachine(UnoVirtualMachine &); // not defined - void operator =(UnoVirtualMachine &); // not defined + UnoVirtualMachine(UnoVirtualMachine &) SAL_DELETED_FUNCTION; + void operator =(UnoVirtualMachine &) SAL_DELETED_FUNCTION; virtual ~UnoVirtualMachine(); diff --git a/include/jvmaccess/virtualmachine.hxx b/include/jvmaccess/virtualmachine.hxx index 3da9da5a150c..0493e30d4978 100644 --- a/include/jvmaccess/virtualmachine.hxx +++ b/include/jvmaccess/virtualmachine.hxx @@ -82,8 +82,8 @@ public: inline JNIEnv * getEnvironment() const { return m_pEnvironment; } private: - AttachGuard(AttachGuard &); // not implemented - void operator =(AttachGuard); // not implemented + AttachGuard(AttachGuard &) SAL_DELETED_FUNCTION; + void operator =(AttachGuard) SAL_DELETED_FUNCTION; rtl::Reference< VirtualMachine > m_xMachine; JNIEnv * m_pEnvironment; @@ -128,8 +128,8 @@ public: JNIEnv * pMainThreadEnv); private: - VirtualMachine(VirtualMachine &); // not implemented - void operator =(VirtualMachine); // not implemented + VirtualMachine(VirtualMachine &) SAL_DELETED_FUNCTION; + void operator =(VirtualMachine) SAL_DELETED_FUNCTION; virtual ~VirtualMachine(); |