diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-10 21:41:44 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-11 07:15:35 +0000 |
commit | c210bf4510585b554e0e9a371f27fa27e2874762 (patch) | |
tree | 62f8c45ab415da97af398508e3ea64329268e7a3 /sc/inc/chart2uno.hxx | |
parent | cf81f3ba0602eeffad8907a1bb9cdd24e62c2d1e (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/chart2uno.hxx')
-rw-r--r-- | sc/inc/chart2uno.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx index 44df1e7037fc..3d2a61fe33af 100644 --- a/sc/inc/chart2uno.hxx +++ b/sc/inc/chart2uno.hxx @@ -50,7 +50,6 @@ #include <memory> #include <unordered_set> #include <vector> -#include <boost/noncopyable.hpp> class ScDocument; @@ -235,8 +234,7 @@ class ScChart2DataSequence : public css::util::XModifyBroadcaster, css::beans::XPropertySet, css::lang::XServiceInfo>, - public SfxListener, - private boost::noncopyable + public SfxListener { public: explicit ScChart2DataSequence( ScDocument* pDoc, @@ -244,6 +242,9 @@ public: ::std::vector<ScTokenRef>&& rTokens, bool bIncludeHiddenCells ); virtual ~ScChart2DataSequence(); + ScChart2DataSequence(const ScChart2DataSequence&) = delete; + ScChart2DataSequence& operator=(const ScChart2DataSequence&) = delete; + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; // XDataSequence @@ -364,21 +365,20 @@ private: DECL_LINK_TYPED( ValueListenerHdl, const SfxHint&, void ); private: - ScChart2DataSequence(const ScChart2DataSequence& r) = delete; - class ExternalRefListener : public ScExternalRefManager::LinkListener { public: ExternalRefListener(ScChart2DataSequence& rParent, ScDocument* pDoc); virtual ~ExternalRefListener(); + ExternalRefListener(const ExternalRefListener&) = delete; + ExternalRefListener& operator=(const ExternalRefListener&) = delete; + virtual void notify(sal_uInt16 nFileId, ScExternalRefManager::LinkUpdateType eType) override; void addFileId(sal_uInt16 nFileId); void removeFileId(sal_uInt16 nFileId); const std::unordered_set<sal_uInt16>& getAllFileIds() { return maFileIds;} private: - ExternalRefListener(const ExternalRefListener& r) = delete; - ScChart2DataSequence& mrParent; std::unordered_set<sal_uInt16> maFileIds; ScDocument* mpDoc; |