Kaydet (Commit) c6be3cf0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:deletedspecial

Change-Id: I0faa47383f8952a74742a640ab2af602b4fcba8f
üst e92e1959
...@@ -77,9 +77,8 @@ namespace connectivity ...@@ -77,9 +77,8 @@ namespace connectivity
::com::sun::star::uno::Reference< ::com::sun::star::frame::XDesktop2> m_xDesktop; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDesktop2> m_xDesktop;
private: private:
OPoolCollection(); // never implemented OPoolCollection(const OPoolCollection&) SAL_DELETED_FUNCTION;
OPoolCollection(const OPoolCollection&); // never implemented int operator= (const OPoolCollection&) SAL_DELETED_FUNCTION;
int operator= (const OPoolCollection&); // never implemented
OPoolCollection( OPoolCollection(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext); const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext);
......
...@@ -164,8 +164,8 @@ protected: // Data ...@@ -164,8 +164,8 @@ protected: // Data
enum { NPColumns, NPValues, NPRows } nowParsing_; enum { NPColumns, NPValues, NPRows } nowParsing_;
private: private:
MorkParser(const MorkParser &); MorkParser(const MorkParser &) SAL_DELETED_FUNCTION;
MorkParser &operator=(const MorkParser &); MorkParser &operator=(const MorkParser &) SAL_DELETED_FUNCTION;
}; };
......
...@@ -252,8 +252,8 @@ struct Statics ...@@ -252,8 +252,8 @@ struct Statics
BaseTypeMap baseTypeMap; BaseTypeMap baseTypeMap;
Statics(){} Statics(){}
private: private:
Statics( const Statics & ); Statics( const Statics & ) SAL_DELETED_FUNCTION;
Statics & operator = ( const Statics & ); Statics & operator = ( const Statics & ) SAL_DELETED_FUNCTION;
}; };
Statics & getStatics(); Statics & getStatics();
......
...@@ -38,8 +38,8 @@ namespace connectivity ...@@ -38,8 +38,8 @@ namespace connectivity
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
::com::sun::star::uno::WeakReference< ::com::sun::star::sdbc::XConnection > m_xConnection; ::com::sun::star::uno::WeakReference< ::com::sun::star::sdbc::XConnection > m_xConnection;
ParameterSubstitution( const ParameterSubstitution& ); ParameterSubstitution( const ParameterSubstitution& ) SAL_DELETED_FUNCTION;
ParameterSubstitution& operator=( const ParameterSubstitution& ); ParameterSubstitution& operator=( const ParameterSubstitution& ) SAL_DELETED_FUNCTION;
public: public:
static OUString getImplementationName_Static( ) throw(::com::sun::star::uno::RuntimeException); static OUString getImplementationName_Static( ) throw(::com::sun::star::uno::RuntimeException);
......
...@@ -131,9 +131,8 @@ private: ...@@ -131,9 +131,8 @@ private:
// supposed to be a singleton // supposed to be a singleton
FunctionParser(); FunctionParser();
// default: disabled copy/assignment FunctionParser(const FunctionParser&) SAL_DELETED_FUNCTION;
FunctionParser(const FunctionParser&); FunctionParser& operator=( const FunctionParser& ) SAL_DELETED_FUNCTION;
FunctionParser& operator=( const FunctionParser& );
}; };
......
...@@ -73,8 +73,8 @@ namespace connectivity { namespace jdbc ...@@ -73,8 +73,8 @@ namespace connectivity { namespace jdbc
} }
private: private:
ContextClassLoaderScope(ContextClassLoaderScope &); // not defined ContextClassLoaderScope(ContextClassLoaderScope &) SAL_DELETED_FUNCTION;
void operator =(ContextClassLoaderScope &); // not defined void operator =(ContextClassLoaderScope &) SAL_DELETED_FUNCTION;
void pop( bool clearExceptions ); void pop( bool clearExceptions );
......
...@@ -80,8 +80,8 @@ namespace connectivity { namespace jdbc ...@@ -80,8 +80,8 @@ namespace connectivity { namespace jdbc
bool is() const { return m_object != NULL; } bool is() const { return m_object != NULL; }
private: private:
LocalRef(LocalRef &); // not defined LocalRef(LocalRef &) SAL_DELETED_FUNCTION;
void operator =(LocalRef &); // not defined void operator =(LocalRef &) SAL_DELETED_FUNCTION;
protected: protected:
JNIEnv& m_environment; JNIEnv& m_environment;
......
...@@ -46,8 +46,8 @@ namespace connectivity ...@@ -46,8 +46,8 @@ namespace connectivity
class SDBThreadAttach class SDBThreadAttach
{ {
jvmaccess::VirtualMachine::AttachGuard m_aGuard; jvmaccess::VirtualMachine::AttachGuard m_aGuard;
SDBThreadAttach(SDBThreadAttach&); SDBThreadAttach(SDBThreadAttach&) SAL_DELETED_FUNCTION;
SDBThreadAttach& operator= (SDBThreadAttach&); SDBThreadAttach& operator= (SDBThreadAttach&) SAL_DELETED_FUNCTION;
public: public:
SDBThreadAttach(); SDBThreadAttach();
~SDBThreadAttach(); ~SDBThreadAttach();
...@@ -68,9 +68,8 @@ namespace connectivity ...@@ -68,9 +68,8 @@ namespace connectivity
class java_lang_Object class java_lang_Object
{ {
// operator= and the copy ctor are forbidden java_lang_Object& operator= (java_lang_Object&) SAL_DELETED_FUNCTION;
java_lang_Object& operator= (java_lang_Object&); java_lang_Object(java_lang_Object&) SAL_DELETED_FUNCTION;
java_lang_Object(java_lang_Object&);
protected: protected:
// The Java handle to this class // The Java handle to this class
......
...@@ -43,8 +43,8 @@ namespace dbtools ...@@ -43,8 +43,8 @@ namespace dbtools
protected: protected:
virtual ~OParameterContinuation() { } virtual ~OParameterContinuation() { }
private: private:
OParameterContinuation(const OParameterContinuation&); OParameterContinuation(const OParameterContinuation&) SAL_DELETED_FUNCTION;
void operator =(const OParameterContinuation&); void operator =(const OParameterContinuation&) SAL_DELETED_FUNCTION;
}; };
} // dbtools } // dbtools
#endif // INCLUDED_CONNECTIVITY_PARAMETERCONT_HXX #endif // INCLUDED_CONNECTIVITY_PARAMETERCONT_HXX
......
...@@ -402,9 +402,8 @@ namespace dbtools ...@@ -402,9 +402,8 @@ namespace dbtools
void cacheConnectionInfo(); void cacheConnectionInfo();
private: private:
ParameterManager(); // never implemented ParameterManager( const ParameterManager& ) SAL_DELETED_FUNCTION;
ParameterManager( const ParameterManager& ); // never implemented ParameterManager& operator=( const ParameterManager& ) SAL_DELETED_FUNCTION;
ParameterManager& operator=( const ParameterManager& ); // never implemented
}; };
......
...@@ -129,8 +129,7 @@ namespace connectivity ...@@ -129,8 +129,7 @@ namespace connectivity
private: private:
OSQLParseTreeIterator(); // never implemented OSQLParseTreeIterator(const OSQLParseTreeIterator & rIter) SAL_DELETED_FUNCTION;
OSQLParseTreeIterator(const OSQLParseTreeIterator & rIter); // never implemented
public: public:
OSQLParseTreeIterator( OSQLParseTreeIterator(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment