summaryrefslogtreecommitdiff
path: root/codemaker/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:09:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:35:56 +0100
commit4d79146adf941236d9fd2aeeff5cd291ec44d77e (patch)
tree12e06b47244ca8ff41517fe5507bacdb726834c5 /codemaker/source
parent5b736d96ba96d9b40a90188b334c6014d349bdf6 (diff)
loplugin:deletedspecial
Change-Id: Ice7788ebcfbc638ec21a824c4267757218c14478
Diffstat (limited to 'codemaker/source')
-rw-r--r--codemaker/source/cppumaker/includes.hxx4
-rw-r--r--codemaker/source/javamaker/classfile.hxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/codemaker/source/cppumaker/includes.hxx b/codemaker/source/cppumaker/includes.hxx
index 0eb5ccaf8006..6618553e7d11 100644
--- a/codemaker/source/cppumaker/includes.hxx
+++ b/codemaker/source/cppumaker/includes.hxx
@@ -67,8 +67,8 @@ public:
FileStream & out, OString const & entityName, bool hpp);
private:
- Includes(Includes &); // not implemented
- void operator =(const Includes&); // not implemented;
+ Includes(Includes &) SAL_DELETED_FUNCTION;
+ void operator =(const Includes&) SAL_DELETED_FUNCTION;
bool isInterfaceType(OString const & entityName) const;
diff --git a/codemaker/source/javamaker/classfile.hxx b/codemaker/source/javamaker/classfile.hxx
index 7b22d8279c16..ddfea12e6181 100644
--- a/codemaker/source/javamaker/classfile.hxx
+++ b/codemaker/source/javamaker/classfile.hxx
@@ -130,8 +130,8 @@ public:
Position getPosition() const;
private:
- Code(Code &); // not implemented
- void operator =(const Code&); // not implemented
+ Code(Code &) SAL_DELETED_FUNCTION;
+ void operator =(const Code&) SAL_DELETED_FUNCTION;
Code(ClassFile & classFile);
@@ -181,8 +181,8 @@ public:
private:
typedef std::map< rtl::OString, sal_uInt16 > Map;
- ClassFile(ClassFile &); // not implemented
- void operator =(const ClassFile&); // not implemented
+ ClassFile(ClassFile &) SAL_DELETED_FUNCTION;
+ void operator =(const ClassFile&) SAL_DELETED_FUNCTION;
sal_uInt16 nextConstantPoolIndex(sal_uInt16 width);
sal_uInt16 addUtf8Info(rtl::OString const & value);