summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/SwPanelFactory.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-04-06 17:47:34 +0200
committerMichael Stahl <mstahl@redhat.com>2016-04-07 11:05:02 +0200
commit082005bf81b1c72da042193449974bbb610ca85f (patch)
treee423e4a483b2382246736030c07b4ea00d076258 /sw/source/uibase/sidebar/SwPanelFactory.cxx
parent1f036d51fa581c3a4f80065d0fbe77b7076665e4 (diff)
sw: replace boost::noncopyable with C++11 delete
Change-Id: Iac20763c7d1db467420f9c2fbb3cd636839d4c80
Diffstat (limited to 'sw/source/uibase/sidebar/SwPanelFactory.cxx')
-rw-r--r--sw/source/uibase/sidebar/SwPanelFactory.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sw/source/uibase/sidebar/SwPanelFactory.cxx b/sw/source/uibase/sidebar/SwPanelFactory.cxx
index dc0487452a0d..ed9263baf5b9 100644
--- a/sw/source/uibase/sidebar/SwPanelFactory.cxx
+++ b/sw/source/uibase/sidebar/SwPanelFactory.cxx
@@ -37,7 +37,6 @@
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include <boost/noncopyable.hpp>
using namespace css;
using namespace css::uno;
@@ -49,10 +48,13 @@ typedef ::cppu::WeakComponentImplHelper <
> PanelFactoryInterfaceBase;
class SwPanelFactory
- : private ::boost::noncopyable,
- private ::cppu::BaseMutex,
- public PanelFactoryInterfaceBase
+ : private ::cppu::BaseMutex
+ , public PanelFactoryInterfaceBase
{
+private:
+ SwPanelFactory(SwPanelFactory const&) = delete;
+ SwPanelFactory& operator=(SwPanelFactory const&) = delete;
+
public:
SwPanelFactory();
virtual ~SwPanelFactory();