diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:22:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:35:59 +0100 |
commit | b3934e4afc71abb3d7eacb5fce65a4eb7c3edd73 (patch) | |
tree | 46a27f8eac90efb628479678e945e272fb86d56d /jvmfwk | |
parent | 297690979ffad37df13b150d5bd7f00008a10a79 (diff) |
loplugin:deletedspecial
Change-Id: I6827530316561e600b760a2620f859b28c6c91e6
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/source/elements.hxx | 4 | ||||
-rw-r--r-- | jvmfwk/source/libxmlutil.hxx | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/jvmfwk/source/elements.hxx b/jvmfwk/source/elements.hxx index f62e7b0d2cfc..d04827b550df 100644 --- a/jvmfwk/source/elements.hxx +++ b/jvmfwk/source/elements.hxx @@ -263,8 +263,8 @@ public: class MergedSettings { private: - const MergedSettings& operator = (MergedSettings&); - MergedSettings(MergedSettings&); + const MergedSettings& operator = (MergedSettings&) SAL_DELETED_FUNCTION; + MergedSettings(MergedSettings&) SAL_DELETED_FUNCTION; void merge(const NodeJava & share, const NodeJava & user); diff --git a/jvmfwk/source/libxmlutil.hxx b/jvmfwk/source/libxmlutil.hxx index 7e0017677ef0..c83a72240f0d 100644 --- a/jvmfwk/source/libxmlutil.hxx +++ b/jvmfwk/source/libxmlutil.hxx @@ -28,8 +28,8 @@ namespace jfw class CXPathObjectPtr { xmlXPathObject* _object; - CXPathObjectPtr & operator = (const CXPathObjectPtr&); - CXPathObjectPtr(const CXPathObjectPtr&); + CXPathObjectPtr & operator = (const CXPathObjectPtr&) SAL_DELETED_FUNCTION; + CXPathObjectPtr(const CXPathObjectPtr&) SAL_DELETED_FUNCTION; public: CXPathObjectPtr(); ~CXPathObjectPtr(); @@ -45,8 +45,8 @@ class CXPathContextPtr { xmlXPathContext* _object; - CXPathContextPtr(const jfw::CXPathContextPtr&); - CXPathContextPtr & operator = (const CXPathContextPtr&); + CXPathContextPtr(const jfw::CXPathContextPtr&) SAL_DELETED_FUNCTION; + CXPathContextPtr & operator = (const CXPathContextPtr&) SAL_DELETED_FUNCTION; public: CXPathContextPtr(); CXPathContextPtr(xmlXPathContextPtr aContext); @@ -61,7 +61,7 @@ class CXmlDocPtr { xmlDoc* _object; - CXmlDocPtr(const CXmlDocPtr&); + CXmlDocPtr(const CXmlDocPtr&) SAL_DELETED_FUNCTION; public: CXmlDocPtr & operator = (const CXmlDocPtr&); @@ -80,8 +80,8 @@ class CXmlCharPtr { xmlChar* _object; - CXmlCharPtr(const CXmlCharPtr&); - CXmlCharPtr & operator = (const CXmlCharPtr&); + CXmlCharPtr(const CXmlCharPtr&) SAL_DELETED_FUNCTION; + CXmlCharPtr & operator = (const CXmlCharPtr&) SAL_DELETED_FUNCTION; public: CXmlCharPtr(); CXmlCharPtr(xmlChar* aDoc); |