diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-26 16:10:13 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-04-26 16:44:10 +0000 |
commit | 2bb6221b39192d23ff0ceac3619461949edb5204 (patch) | |
tree | 8d2008d45de39277da718acea314369e3d319bb0 /sc/inc/viewuno.hxx | |
parent | 32cec4ca8bf1e09dd33aa461984e8e8ae34f4a7c (diff) |
C++11: disable ctors instead of not implementing them (sc)
replace the old declare and don't implement pattern
with C++11 delete keyword
Change-Id: I96c71d512d8dab4ad7c806c2e871604163fc49c1
Reviewed-on: https://gerrit.libreoffice.org/24399
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'sc/inc/viewuno.hxx')
-rw-r--r-- | sc/inc/viewuno.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx index e90e7ad9009b..90c3a37d2a9d 100644 --- a/sc/inc/viewuno.hxx +++ b/sc/inc/viewuno.hxx @@ -184,9 +184,9 @@ private: void EndActivationListening(); bool mbLeftMousePressed; bool mbPendingSelectionChanged; - ScTabViewObj(); // disabled public: ScTabViewObj(ScTabViewShell* pViewSh); + ScTabViewObj() = delete; virtual ~ScTabViewObj(); virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) |