diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-29 15:54:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-05-03 20:12:22 +0000 |
commit | 12c222a3ae3d65b0c088e42bec426ec0e5ca5b75 (patch) | |
tree | a54a816a72f05840bbff1d6da6b2e79625faf10c /include/dbaccess/dbsubcomponentcontroller.hxx | |
parent | acdc855f0b9b97e23ea5282f5a31e28dbcf2b311 (diff) |
C++11: disable ctors with delete in include/
replace the old declare and don't implement pattern
with C++11 delete keyword
no need to hide this design choice behind access restrictions
Change-Id: I7e8430a07189aa48514a4613c3a8c2950b230f49
Reviewed-on: https://gerrit.libreoffice.org/24495
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/dbaccess/dbsubcomponentcontroller.hxx')
-rw-r--r-- | include/dbaccess/dbsubcomponentcontroller.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
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 }; |