From c6be3cf03b0c48fba99e785f18a61c798d3bb5be Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 7 Feb 2015 12:10:16 +0100 Subject: loplugin:deletedspecial Change-Id: I0faa47383f8952a74742a640ab2af602b4fcba8f --- include/connectivity/ParameterCont.hxx | 4 ++-- include/connectivity/parameters.hxx | 5 ++--- include/connectivity/sqliterator.hxx | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-) (limited to 'include/connectivity') diff --git a/include/connectivity/ParameterCont.hxx b/include/connectivity/ParameterCont.hxx index b87e1c36dfbb..931398c893e6 100644 --- a/include/connectivity/ParameterCont.hxx +++ b/include/connectivity/ParameterCont.hxx @@ -43,8 +43,8 @@ namespace dbtools protected: virtual ~OParameterContinuation() { } private: - OParameterContinuation(const OParameterContinuation&); - void operator =(const OParameterContinuation&); + OParameterContinuation(const OParameterContinuation&) SAL_DELETED_FUNCTION; + void operator =(const OParameterContinuation&) SAL_DELETED_FUNCTION; }; } // dbtools #endif // INCLUDED_CONNECTIVITY_PARAMETERCONT_HXX diff --git a/include/connectivity/parameters.hxx b/include/connectivity/parameters.hxx index 1904fbf8e079..9af2b77b14bd 100644 --- a/include/connectivity/parameters.hxx +++ b/include/connectivity/parameters.hxx @@ -402,9 +402,8 @@ namespace dbtools void cacheConnectionInfo(); private: - ParameterManager(); // never implemented - ParameterManager( const ParameterManager& ); // never implemented - ParameterManager& operator=( const ParameterManager& ); // never implemented + ParameterManager( const ParameterManager& ) SAL_DELETED_FUNCTION; + ParameterManager& operator=( const ParameterManager& ) SAL_DELETED_FUNCTION; }; diff --git a/include/connectivity/sqliterator.hxx b/include/connectivity/sqliterator.hxx index 785c821337fc..0ea58d989c20 100644 --- a/include/connectivity/sqliterator.hxx +++ b/include/connectivity/sqliterator.hxx @@ -129,8 +129,7 @@ namespace connectivity private: - OSQLParseTreeIterator(); // never implemented - OSQLParseTreeIterator(const OSQLParseTreeIterator & rIter); // never implemented + OSQLParseTreeIterator(const OSQLParseTreeIterator & rIter) SAL_DELETED_FUNCTION; public: OSQLParseTreeIterator( -- cgit