From b472ba671ab4e388786a109ac61823e0f7290cd4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Aug 2015 12:11:18 +0100 Subject: cppcheck: noCopyConstructor Change-Id: I62da241f237b17fc192dd586bcd35b5bd6ea284a --- stoc/source/invocation_adapterfactory/iafactory.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stoc') diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx index 102fdebf10d6..ecc67cbf9afe 100644 --- a/stoc/source/invocation_adapterfactory/iafactory.cxx +++ b/stoc/source/invocation_adapterfactory/iafactory.cxx @@ -164,6 +164,10 @@ struct AdapterImpl void * key, Reference< script::XInvocation > const & xReceiver, const Sequence< Type > & rTypes, FactoryImpl * pFactory ); + + // Copy assignment is forbidden and not implemented. + AdapterImpl (const AdapterImpl &) SAL_DELETED_FUNCTION; + AdapterImpl & operator= (const AdapterImpl &) SAL_DELETED_FUNCTION; }; inline AdapterImpl::~AdapterImpl() -- cgit