diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-01 10:00:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 08:55:38 +0000 |
commit | 3c43a4810f505c071bcc99aeda47162a4b7b1681 (patch) | |
tree | b8f06caae940f47d4d5c0e71677c2afae3c217d5 /sc/source/ui/sidebar/ScPanelFactory.hxx | |
parent | 229f10c6d0b88f795038063ce7af61e40a3be35a (diff) |
tdf#94306 Replace boost::noncopyable in sc/source
and sc/workben with C++11 delete copy ctors
add default ctors needed missing
delete some ctors instead of making them private
Change-Id: I0a131f95444ef040e5d580d8326f372b8167e19b
Reviewed-on: https://gerrit.libreoffice.org/23717
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/sidebar/ScPanelFactory.hxx')
-rw-r--r-- | sc/source/ui/sidebar/ScPanelFactory.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/ui/sidebar/ScPanelFactory.hxx b/sc/source/ui/sidebar/ScPanelFactory.hxx index 92a88b1ecbf1..989de37075fd 100644 --- a/sc/source/ui/sidebar/ScPanelFactory.hxx +++ b/sc/source/ui/sidebar/ScPanelFactory.hxx @@ -24,7 +24,6 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/ui/XUIElementFactory.hpp> -#include <boost/noncopyable.hpp> namespace sc { namespace sidebar { @@ -37,11 +36,14 @@ namespace } class ScPanelFactory - : private ::boost::noncopyable, - private ::cppu::BaseMutex, + : private ::cppu::BaseMutex, public PanelFactoryInterfaceBase { public: + // noncopyable + ScPanelFactory(const ScPanelFactory&) = delete; + const ScPanelFactory& operator=(const ScPanelFactory&) = delete; + ScPanelFactory(); virtual ~ScPanelFactory(); |