summaryrefslogtreecommitdiffstats
path: root/sd/inc
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-10 21:41:44 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-11 07:15:35 +0000
commitc210bf4510585b554e0e9a371f27fa27e2874762 (patch)
tree62f8c45ab415da97af398508e3ea64329268e7a3 /sd/inc
parenttdf#79656 Restart now window for language change (diff)
downloadcore-c210bf4510585b554e0e9a371f27fa27e2874762.tar.gz
core-c210bf4510585b554e0e9a371f27fa27e2874762.zip
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/Outliner.hxx7
1 files changed, 4 insertions, 3 deletions
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 <editeng/SpellPortions.hxx>
#include <memory>
-#include <boost/noncopyable.hpp>
class Dialog;
class SdrObject;
@@ -106,8 +105,7 @@ struct SearchSelection
</p>
*/
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