diff options
-rw-r--r-- | codemaker/source/cppumaker/includes.hxx | 4 | ||||
-rw-r--r-- | codemaker/source/javamaker/classfile.hxx | 8 | ||||
-rw-r--r-- | include/codemaker/exceptiontree.hxx | 8 | ||||
-rw-r--r-- | include/codemaker/generatedtypeset.hxx | 4 |
4 files changed, 12 insertions, 12 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); diff --git a/include/codemaker/exceptiontree.hxx b/include/codemaker/exceptiontree.hxx index 2e4795c5f020..091ff034bf72 100644 --- a/include/codemaker/exceptiontree.hxx +++ b/include/codemaker/exceptiontree.hxx @@ -54,8 +54,8 @@ struct ExceptionTreeNode { Children children; private: - ExceptionTreeNode(ExceptionTreeNode &); // not implemented - void operator =(ExceptionTreeNode); // not implemented + ExceptionTreeNode(ExceptionTreeNode &) SAL_DELETED_FUNCTION; + void operator =(ExceptionTreeNode) SAL_DELETED_FUNCTION; void clearChildren(); }; @@ -107,8 +107,8 @@ public: ExceptionTreeNode const & getRoot() const { return m_root; } private: - ExceptionTree(ExceptionTree &); // not implemented - void operator =(const ExceptionTree&); // not implemented + ExceptionTree(ExceptionTree &) SAL_DELETED_FUNCTION; + void operator =(const ExceptionTree&) SAL_DELETED_FUNCTION; ExceptionTreeNode m_root; }; diff --git a/include/codemaker/generatedtypeset.hxx b/include/codemaker/generatedtypeset.hxx index cbe5dc38c2c4..ca4ad24c68be 100644 --- a/include/codemaker/generatedtypeset.hxx +++ b/include/codemaker/generatedtypeset.hxx @@ -60,8 +60,8 @@ public: { return m_set.find(type) != m_set.end(); } private: - GeneratedTypeSet(GeneratedTypeSet &); // not implemented - void operator =(const GeneratedTypeSet&); // not implemented + GeneratedTypeSet(GeneratedTypeSet &) SAL_DELETED_FUNCTION; + void operator =(const GeneratedTypeSet&) SAL_DELETED_FUNCTION; std::unordered_set< OString, OStringHash > m_set; }; |