summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:07:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:35:56 +0100
commit2b55846a33cec1cfceb41be6f05978cdeb002e93 (patch)
tree05216472baf05b8c24f7806682317ecbc2e19c51 /bridges
parentd93bcf77902f21310f1ab45ffed404462e7c77b8 (diff)
loplugin:deletedspecial
Change-Id: Ifac86f4d7e637e9fdbce7e60f6d383e7dca69508
Diffstat (limited to 'bridges')
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/bridge.hxx4
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx4
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx4
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx4
-rw-r--r--bridges/source/cpp_uno/shared/guardedarray.hxx4
-rw-r--r--bridges/source/jni_uno/jni_base.h12
6 files changed, 16 insertions, 16 deletions
diff --git a/bridges/inc/bridges/cpp_uno/shared/bridge.hxx b/bridges/inc/bridges/cpp_uno/shared/bridge.hxx
index 9c59a037addb..3e13b2a919aa 100644
--- a/bridges/inc/bridges/cpp_uno/shared/bridge.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/bridge.hxx
@@ -77,8 +77,8 @@ public:
uno_Mapping * getUno2Cpp() { return &aUno2Cpp; }
private:
- Bridge(Bridge &); // not implemented
- void operator =(const Bridge&); // not implemented
+ Bridge(Bridge &) SAL_DELETED_FUNCTION;
+ void operator =(const Bridge&) SAL_DELETED_FUNCTION;
Bridge(
uno_ExtEnvironment * pCppEnv_, uno_ExtEnvironment * pUnoEnv_,
diff --git a/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx b/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx
index b9290f91c441..67ebce4f7d65 100644
--- a/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx
@@ -66,8 +66,8 @@ public:
static CppInterfaceProxy * castInterfaceToProxy(void * pInterface);
private:
- CppInterfaceProxy(CppInterfaceProxy &); // not implemented
- void operator =(const CppInterfaceProxy&); // not implemented
+ CppInterfaceProxy(CppInterfaceProxy &) SAL_DELETED_FUNCTION;
+ void operator =(const CppInterfaceProxy&) SAL_DELETED_FUNCTION;
CppInterfaceProxy(
Bridge * pBridge_, uno_Interface * pUnoI_,
diff --git a/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx b/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx
index 03701c5a9e3c..6e8e240c6421 100644
--- a/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx
@@ -73,8 +73,8 @@ public:
com::sun::star::uno::XInterface * getCppI() { return pCppI; }
private:
- UnoInterfaceProxy(UnoInterfaceProxy &); // not implemented
- void operator =(const UnoInterfaceProxy&); // not implemented
+ UnoInterfaceProxy(UnoInterfaceProxy &) SAL_DELETED_FUNCTION;
+ void operator =(const UnoInterfaceProxy&) SAL_DELETED_FUNCTION;
UnoInterfaceProxy(
Bridge * pBridge_, com::sun::star::uno::XInterface * pCppI_,
diff --git a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
index 4216566b9a3e..87f6114886ba 100644
--- a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
@@ -120,8 +120,8 @@ private:
class BaseOffset;
- VtableFactory(VtableFactory &); // not implemented
- void operator =(const VtableFactory&); // not implemented
+ VtableFactory(VtableFactory &) SAL_DELETED_FUNCTION;
+ void operator =(const VtableFactory&) SAL_DELETED_FUNCTION;
bool createBlock(Block &block, sal_Int32 slotCount) const;
diff --git a/bridges/source/cpp_uno/shared/guardedarray.hxx b/bridges/source/cpp_uno/shared/guardedarray.hxx
index 9874fc596a82..842536cd21d2 100644
--- a/bridges/source/cpp_uno/shared/guardedarray.hxx
+++ b/bridges/source/cpp_uno/shared/guardedarray.hxx
@@ -33,8 +33,8 @@ public:
T * release() { T * p = pointer; pointer = 0; return p; }
private:
- GuardedArray(GuardedArray &); // not implemented
- void operator =(GuardedArray); // not implemented
+ GuardedArray(GuardedArray &) SAL_DELETED_FUNCTION;
+ void operator =(GuardedArray) SAL_DELETED_FUNCTION;
T * pointer;
};
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h
index 25dee559c98a..7fe21359bb24 100644
--- a/bridges/source/jni_uno/jni_base.h
+++ b/bridges/source/jni_uno/jni_base.h
@@ -57,8 +57,8 @@ class JNI_context
JNIEnv * m_env;
jobject m_class_loader;
- JNI_context( JNI_context & ); // not impl
- void operator = ( JNI_context ); // not impl
+ JNI_context( JNI_context & ) SAL_DELETED_FUNCTION;
+ void operator = ( JNI_context ) SAL_DELETED_FUNCTION;
void java_exc_occurred() const;
public:
@@ -120,8 +120,8 @@ class JNI_guarded_context
: private ::jvmaccess::VirtualMachine::AttachGuard,
public JNI_context
{
- JNI_guarded_context( JNI_guarded_context & ); // not impl
- void operator = ( JNI_guarded_context ); // not impl
+ JNI_guarded_context( JNI_guarded_context & ) SAL_DELETED_FUNCTION;
+ void operator = ( JNI_guarded_context ) SAL_DELETED_FUNCTION;
public:
inline explicit JNI_guarded_context(
@@ -236,8 +236,8 @@ class TypeDescr
{
typelib_TypeDescription * m_td;
- TypeDescr( TypeDescr & ); // not impl
- void operator = ( TypeDescr ); // not impl
+ TypeDescr( TypeDescr & ) SAL_DELETED_FUNCTION;
+ void operator = ( TypeDescr ) SAL_DELETED_FUNCTION;
public:
inline explicit TypeDescr( typelib_TypeDescriptionReference * td_ref );