From 8d54796bf152499ecbe61788be64c9035f725dfa Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 19 May 2014 10:02:29 +0200 Subject: 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 --- codemaker/source/cppumaker/includes.hxx | 2 +- codemaker/source/javamaker/classfile.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'codemaker') 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); -- cgit