diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-19 10:02:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-20 11:17:22 +0200 |
commit | 8d54796bf152499ecbe61788be64c9035f725dfa (patch) | |
tree | 9516219cf8e60bdd46597e522ca4e9fde9b8f407 /codemaker | |
parent | e4740dbecfce958c2c707d8cc92e6dbe52f4b71b (diff) |
enhance pass-by-ref plugin to detect large arguments
Detect arguments larger than 64 chars passed by value.
Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/includes.hxx | 2 | ||||
-rw-r--r-- | codemaker/source/javamaker/classfile.hxx | 4 |
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); |