From 2bb6221b39192d23ff0ceac3619461949edb5204 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Tue, 26 Apr 2016 16:10:13 +0200 Subject: 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 Reviewed-by: David Tardon --- sc/inc/viewuno.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/inc/viewuno.hxx') 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 ) -- cgit