summaryrefslogtreecommitdiff
path: root/include/cppu
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppu')
-rw-r--r--include/cppu/Enterable.hxx4
-rw-r--r--include/cppu/unotype.hxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/cppu/Enterable.hxx b/include/cppu/Enterable.hxx
index 1a5b3c7736eb..9ccc1ddfc792 100644
--- a/include/cppu/Enterable.hxx
+++ b/include/cppu/Enterable.hxx
@@ -59,8 +59,8 @@ public:
inline int isValid (rtl::OUString * pReason) {return m_isValid(this, &pReason->pData);}
private:
- Enterable(Enterable const &);
- Enterable & operator = (Enterable const &);
+ Enterable(Enterable const &) SAL_DELETED_FUNCTION;
+ Enterable & operator = (Enterable const &) SAL_DELETED_FUNCTION;
};
extern "C" inline void Enterable_call_enter (void * context) { ((Enterable *)context)->v_enter(); }
diff --git a/include/cppu/unotype.hxx b/include/cppu/unotype.hxx
index 0706502b5449..8870cd508c7c 100644
--- a/include/cppu/unotype.hxx
+++ b/include/cppu/unotype.hxx
@@ -268,9 +268,9 @@ public:
}
private:
- UnoType(UnoType &); // not defined
- ~UnoType(); // not defined
- void operator =(UnoType &); // not defined
+ UnoType(UnoType &) SAL_DELETED_FUNCTION;
+ ~UnoType() SAL_DELETED_FUNCTION;
+ void operator =(UnoType &) SAL_DELETED_FUNCTION;
};
/**