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 --- sc/inc/dptabsrc.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sc/inc/dptabsrc.hxx') diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx index e6966232acec..035ba282ef9d 100644 --- a/sc/inc/dptabsrc.hxx +++ b/sc/inc/dptabsrc.hxx @@ -47,7 +47,6 @@ #include "dpglobal.hxx" #include "dpresfilter.hxx" -#include #include #include #include @@ -299,7 +298,7 @@ public: ScDPDimension* getByIndex(long nIndex) const; }; -class ScDPDimension : private boost::noncopyable, public cppu::WeakImplHelper< +class ScDPDimension : public cppu::WeakImplHelper< css::sheet::XHierarchiesSupplier, css::container::XNamed, css::util::XCloneable, @@ -325,6 +324,8 @@ class ScDPDimension : private boost::noncopyable, public cppu::WeakImplHelper< public: ScDPDimension( ScDPSource* pSrc, long nD ); virtual ~ScDPDimension(); + ScDPDimension(const ScDPDimension&) = delete; + ScDPDimension& operator=(const ScDPDimension&) = delete; long GetDimension() const { return nDim; } // dimension index in source long GetSourceDim() const { return nSourceDim; } // >=0 if dup'ed @@ -706,7 +707,7 @@ public: SCROW GetSrcItemsCount(); }; -class ScDPMember : private boost::noncopyable, public cppu::WeakImplHelper< +class ScDPMember : public cppu::WeakImplHelper< css::container::XNamed, css::beans::XPropertySet, css::lang::XServiceInfo > @@ -727,6 +728,8 @@ private: public: ScDPMember(ScDPSource* pSrc, long nD, long nH, long nL, SCROW nIndex); virtual ~ScDPMember(); + ScDPMember(const ScDPMember&) = delete; + ScDPMember& operator=(const ScDPMember&) = delete; OUString GetNameStr() const; void FillItemData( ScDPItemData& rData ) const; -- cgit