From 4d79146adf941236d9fd2aeeff5cd291ec44d77e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 7 Feb 2015 12:09:05 +0100 Subject: loplugin:deletedspecial Change-Id: Ice7788ebcfbc638ec21a824c4267757218c14478 --- codemaker/source/cppumaker/includes.hxx | 4 ++-- codemaker/source/javamaker/classfile.hxx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'codemaker') 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); -- cgit v1.2.3