diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:30:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:03 +0100 |
commit | f862290c91e66b859504e6c271309f73fa762a0d (patch) | |
tree | 5a64716146280ee2a58562d7cc33999fc6ada363 /svtools | |
parent | cf0448b95d9af2c98666a7c832e6756ba8a48d96 (diff) |
loplugin:deletedspecial
Change-Id: Ia503ee8012ca9a2a6128c657961176968073f37f
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/table/tablecontrol.hxx | 5 | ||||
-rw-r--r-- | svtools/source/graphic/descriptor.hxx | 4 | ||||
-rw-r--r-- | svtools/source/misc/acceleratorexecute.cxx | 10 |
3 files changed, 4 insertions, 15 deletions
diff --git a/svtools/inc/table/tablecontrol.hxx b/svtools/inc/table/tablecontrol.hxx index cde9465ed222..87285f52946d 100644 --- a/svtools/inc/table/tablecontrol.hxx +++ b/svtools/inc/table/tablecontrol.hxx @@ -204,9 +204,8 @@ namespace svt { namespace table DECL_DLLPRIVATE_LINK( ImplSelectHdl, void* ); private: - TableControl(); // never implemented - TableControl( const TableControl& ); // never implemented - TableControl& operator=( const TableControl& ); // never implemented + TableControl( const TableControl& ) SAL_DELETED_FUNCTION; + TableControl& operator=( const TableControl& ) SAL_DELETED_FUNCTION; }; diff --git a/svtools/source/graphic/descriptor.hxx b/svtools/source/graphic/descriptor.hxx index 53dfacacbd12..94142a4d24cf 100644 --- a/svtools/source/graphic/descriptor.hxx +++ b/svtools/source/graphic/descriptor.hxx @@ -112,9 +112,9 @@ private: bool mbAlpha; bool mbAnimated; - GraphicDescriptor( const GraphicDescriptor& rDescriptor ); + GraphicDescriptor( const GraphicDescriptor& rDescriptor ) SAL_DELETED_FUNCTION; - GraphicDescriptor& operator=( const GraphicDescriptor& ); + GraphicDescriptor& operator=( const GraphicDescriptor& ) SAL_DELETED_FUNCTION; void implCreate( SvStream& rIStm, const OUString* pPath ); }; diff --git a/svtools/source/misc/acceleratorexecute.cxx b/svtools/source/misc/acceleratorexecute.cxx index 67660c27a2c7..4cfbfb7b524a 100644 --- a/svtools/source/misc/acceleratorexecute.cxx +++ b/svtools/source/misc/acceleratorexecute.cxx @@ -82,16 +82,6 @@ AcceleratorExecute::AcceleratorExecute() { } - -AcceleratorExecute::AcceleratorExecute(const AcceleratorExecute&) - : TMutexInit ( ) - , m_aAsyncCallback(LINK(this, AcceleratorExecute, impl_ts_asyncCallback)) -{ - // copy construction sint supported in real ... - // but we need this ctor to init our async callback ... -} - - AcceleratorExecute::~AcceleratorExecute() { // does nothing real |