diff --git a/include/comphelper/accessibleeventnotifier.hxx b/include/comphelper/accessibleeventnotifier.hxx index 15f03013d380..572ac77168f1 100644 --- a/include/comphelper/accessibleeventnotifier.hxx +++ b/include/comphelper/accessibleeventnotifier.hxx @@ -38,15 +38,12 @@ namespace comphelper public: typedef sal_uInt32 TClientId; - protected: - AccessibleEventNotifier( ); // never implemented - ~AccessibleEventNotifier( ); // never implemented - - private: + public: + AccessibleEventNotifier() = delete; + ~AccessibleEventNotifier() = delete; AccessibleEventNotifier( const AccessibleEventNotifier& ) = delete; AccessibleEventNotifier& operator=( const AccessibleEventNotifier& ) = delete; - public: /** registers a client of this class, means a broadcaster of AccessibleEvents
No precaution is taken to care for disposal of this component. When the component
diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx
index 8c052a6a5e0e..f61948eefa75 100644
--- a/include/comphelper/accessiblewrapper.hxx
+++ b/include/comphelper/accessiblewrapper.hxx
@@ -225,9 +225,9 @@ namespace comphelper
protected:
virtual ~OAccessibleContextWrapperHelper( );
- OAccessibleContextWrapperHelper( ); // never implemented
- OAccessibleContextWrapperHelper( const OAccessibleContextWrapperHelper& ); // never implemented
- OAccessibleContextWrapperHelper& operator=( const OAccessibleContextWrapperHelper& ); // never implemented
+ OAccessibleContextWrapperHelper() = delete;
+ OAccessibleContextWrapperHelper(const OAccessibleContextWrapperHelper&) = delete;
+ OAccessibleContextWrapperHelper& operator=(const OAccessibleContextWrapperHelper&) = delete;
};
diff --git a/include/connectivity/paramwrapper.hxx b/include/connectivity/paramwrapper.hxx
index c32fa6754f59..fa8494bbe9af 100644
--- a/include/connectivity/paramwrapper.hxx
+++ b/include/connectivity/paramwrapper.hxx
@@ -79,6 +79,7 @@ namespace param
::connectivity::ORowSetValue& Value() { return m_aValue; }
public:
+ ParameterWrapper() = delete;
ParameterWrapper(
const css::uno::Reference< css::beans::XPropertySet >& _rxColumn
);
@@ -114,9 +115,6 @@ namespace param
private:
OUString impl_getPseudoAggregatePropertyName( sal_Int32 _nHandle ) const;
-
- private:
- ParameterWrapper(); // not implemented
};
diff --git a/include/dbaccess/dbsubcomponentcontroller.hxx b/include/dbaccess/dbsubcomponentcontroller.hxx
index 798a655e81e0..e3562a749d33 100644
--- a/include/dbaccess/dbsubcomponentcontroller.hxx
+++ b/include/dbaccess/dbsubcomponentcontroller.hxx
@@ -76,6 +76,7 @@ namespace dbaui
virtual void impl_onModifyChanged();
public:
+ DBSubComponentController() = delete;
bool isReadOnly() const;
bool isEditable() const;
@@ -188,9 +189,6 @@ namespace dbaui
protected:
sal_Int32 getCurrentStartNumber() const;
-
- private:
- DBSubComponentController(); // never implemented
};
diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx
index 2206cc9ded85..4331b06736ce 100644
--- a/include/editeng/editobj.hxx
+++ b/include/editeng/editobj.hxx
@@ -65,18 +65,16 @@ class EDITENG_DLLPUBLIC EditTextObject : public SfxItemPoolUser
std::unique_ptr