summaryrefslogtreecommitdiff
path: root/chart2/source/controller/inc/ChartToolbarController.hxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-07 20:24:27 +0200
committerDavid Tardon <dtardon@redhat.com>2016-04-08 17:40:14 +0000
commit25934decf8bfd94506bccd48ac66be9d7eb4dce2 (patch)
treefaf19bc190d008d51ed9825be8a95f9b5dfb8632 /chart2/source/controller/inc/ChartToolbarController.hxx
parentfd61dee6457a44687f1142dd55bfee6b64fda2ef (diff)
tdf#94306 replace boost::noncopyable in chart2
Replace with C++11 delete copy-constructur and copy-assignment. Delete default-constructors when comments suggested it. Change-Id: Ieeaf6ca998a4165d6eacf5e900c6a09aafdcfbe6 Reviewed-on: https://gerrit.libreoffice.org/23903 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'chart2/source/controller/inc/ChartToolbarController.hxx')
-rw-r--r--chart2/source/controller/inc/ChartToolbarController.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/inc/ChartToolbarController.hxx b/chart2/source/controller/inc/ChartToolbarController.hxx
index ddcbc523963d..ae7ce735573a 100644
--- a/chart2/source/controller/inc/ChartToolbarController.hxx
+++ b/chart2/source/controller/inc/ChartToolbarController.hxx
@@ -21,8 +21,6 @@
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/frame/XFramesSupplier.hpp>
-#include <boost/noncopyable.hpp>
-
namespace chart {
namespace {
@@ -34,14 +32,16 @@ typedef cppu::WeakComponentImplHelper<
}
-class ChartToolbarController : private boost::noncopyable,
- private cppu::BaseMutex,
+class ChartToolbarController : private cppu::BaseMutex,
public ChartToolbarControllerBase
{
public:
ChartToolbarController(const css::uno::Sequence<css::uno::Any>& rProperties);
virtual ~ChartToolbarController();
+ ChartToolbarController(const ChartToolbarController&) = delete;
+ const ChartToolbarController& operator=(const ChartToolbarController&) = delete;
+
// XToolbarContoller
virtual void SAL_CALL execute(sal_Int16 nKeyModifier)
throw (css::uno::RuntimeException, std::exception) override;