summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker')
-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);