summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/cppumaker/includes.hxx2
-rw-r--r--codemaker/source/javamaker/classfile.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/codemaker/source/cppumaker/includes.hxx b/codemaker/source/cppumaker/includes.hxx
index a149dc568f89..0eb5ccaf8006 100644
--- a/codemaker/source/cppumaker/includes.hxx
+++ b/codemaker/source/cppumaker/includes.hxx
@@ -68,7 +68,7 @@ public:
private:
Includes(Includes &); // not implemented
- void operator =(Includes); // not implemented;
+ void operator =(const Includes&); // not implemented;
bool isInterfaceType(OString const & entityName) const;
diff --git a/codemaker/source/javamaker/classfile.hxx b/codemaker/source/javamaker/classfile.hxx
index 15465d0132c7..7b22d8279c16 100644
--- a/codemaker/source/javamaker/classfile.hxx
+++ b/codemaker/source/javamaker/classfile.hxx
@@ -131,7 +131,7 @@ public:
private:
Code(Code &); // not implemented
- void operator =(Code); // not implemented
+ void operator =(const Code&); // not implemented
Code(ClassFile & classFile);
@@ -182,7 +182,7 @@ private:
typedef std::map< rtl::OString, sal_uInt16 > Map;
ClassFile(ClassFile &); // not implemented
- void operator =(ClassFile); // not implemented
+ void operator =(const ClassFile&); // not implemented
sal_uInt16 nextConstantPoolIndex(sal_uInt16 width);
sal_uInt16 addUtf8Info(rtl::OString const & value);