summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-19 10:02:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-20 11:17:22 +0200
commit8d54796bf152499ecbe61788be64c9035f725dfa (patch)
tree9516219cf8e60bdd46597e522ca4e9fde9b8f407 /bridges
parente4740dbecfce958c2c707d8cc92e6dbe52f4b71b (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 'bridges')
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/bridge.hxx2
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx2
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx2
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/bridges/inc/bridges/cpp_uno/shared/bridge.hxx b/bridges/inc/bridges/cpp_uno/shared/bridge.hxx
index ba086598479e..e9f776500f10 100644
--- a/bridges/inc/bridges/cpp_uno/shared/bridge.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/bridge.hxx
@@ -78,7 +78,7 @@ public:
private:
Bridge(Bridge &); // not implemented
- void operator =(Bridge); // not implemented
+ void operator =(const Bridge&); // not implemented
Bridge(
uno_ExtEnvironment * pCppEnv_, uno_ExtEnvironment * pUnoEnv_,
diff --git a/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx b/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx
index f6e50a9e9bbc..13330619c257 100644
--- a/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx
@@ -67,7 +67,7 @@ public:
private:
CppInterfaceProxy(CppInterfaceProxy &); // not implemented
- void operator =(CppInterfaceProxy); // not implemented
+ void operator =(const CppInterfaceProxy&); // not implemented
CppInterfaceProxy(
Bridge * pBridge_, uno_Interface * pUnoI_,
diff --git a/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx b/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx
index 7fac67110847..cb9fceeb64af 100644
--- a/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx
@@ -74,7 +74,7 @@ public:
private:
UnoInterfaceProxy(UnoInterfaceProxy &); // not implemented
- void operator =(UnoInterfaceProxy); // not implemented
+ void operator =(const UnoInterfaceProxy&); // not implemented
UnoInterfaceProxy(
Bridge * pBridge_, com::sun::star::uno::XInterface * pCppI_,
diff --git a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
index 7ff0e3492173..613358dc84e0 100644
--- a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
@@ -122,7 +122,7 @@ private:
class BaseOffset;
VtableFactory(VtableFactory &); // not implemented
- void operator =(VtableFactory); // not implemented
+ void operator =(const VtableFactory&); // not implemented
bool createBlock(Block &block, sal_Int32 slotCount) const;