summaryrefslogtreecommitdiff
path: root/include/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:11:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:35:57 +0100
commit109113c4c84e833f31d7425080dd79cc7c95b5fd (patch)
tree5332071a91854375b2d1fda6402771d857cdc1b6 /include/cppu
parentb13b01a2bca7b7c69a8fcf9e5ef7f209df99e4ad (diff)
loplugin:deletedspecial
Change-Id: I4ed4004990f0e98a1095f3b7f4a6d9dac009a4eb
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;
};
/**