From c210bf4510585b554e0e9a371f27fa27e2874762 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 10 Apr 2016 21:41:44 +0200 Subject: tdf#94306 replace boost::noncopyable r.. to sdext ... in modules reportdesign to sdext Replace with C++11 delete copy-constructur and copy-assignment. Remove boost/noncopyable.hpp includes. Make some overloaded ctors explicit (most in sd slidesorter). Add deleted copy-assignment in sc/inc/chart2uno.hxx. Change-Id: I21d4209f0ddb00063ca827474516a05ab4bb2f9a Reviewed-on: https://gerrit.libreoffice.org/23970 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/inc/Outliner.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sd/inc') diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx index 89ba020182f0..73434a74ed4d 100644 --- a/sd/inc/Outliner.hxx +++ b/sd/inc/Outliner.hxx @@ -26,7 +26,6 @@ #include "OutlinerIterator.hxx" #include #include -#include class Dialog; class SdrObject; @@ -106,8 +105,7 @@ struct SearchSelection

*/ class Outliner - : public SdrOutliner, - public ::boost::noncopyable + : public SdrOutliner { public: friend class ::sd::outliner::OutlinerContainer; @@ -125,6 +123,9 @@ public: */ Outliner( SdDrawDocument* pDoc, sal_uInt16 nMode ); virtual ~Outliner(); + /// Forbid copy construction and copy assignment + Outliner(const Outliner&) = delete; + Outliner& operator=(const Outliner&) = delete; /** Despite the name this method is called prior to spell checking *and* searching and replacing. The position of current view -- cgit