summaryrefslogtreecommitdiff
path: root/sc/inc/dptabsrc.hxx
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 /sc/inc/dptabsrc.hxx
parentcf81f3ba0602eeffad8907a1bb9cdd24e62c2d1e (diff)
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 'sc/inc/dptabsrc.hxx')
-rw-r--r--sc/inc/dptabsrc.hxx9
1 files changed, 6 insertions, 3 deletions
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 <boost/noncopyable.hpp>
#include <list>
#include <memory>
#include <unordered_map>
@@ -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;