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 /reportdesign/inc/RptObject.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 'reportdesign/inc/RptObject.hxx')
-rw-r--r-- | reportdesign/inc/RptObject.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx index 283e8f2ac5d7..f2ddca7fcced 100644 --- a/reportdesign/inc/RptObject.hxx +++ b/reportdesign/inc/RptObject.hxx @@ -21,7 +21,6 @@ #include "dllapi.h" -#include <boost/noncopyable.hpp> #include <svx/svdoole2.hxx> #include <svx/svdouno.hxx> @@ -66,7 +65,7 @@ typedef ::std::multimap< sal_Int16, OUString, ::std::less< sal_Int16 > > IndexTo class OReportPage; class OPropertyMediator; -class REPORTDESIGN_DLLPUBLIC OObjectBase: private boost::noncopyable +class REPORTDESIGN_DLLPUBLIC OObjectBase { public: typedef rtl::Reference<OPropertyMediator> TMediator; @@ -100,6 +99,8 @@ private: const css::uno::Reference< css::uno::XInterface >& _rxShape ); public: + OObjectBase(const OObjectBase&) = delete; + OObjectBase& operator=(const OObjectBase&) = delete; void StartListening(); void EndListening(bool bRemoveListener = true); // PropertyChangeListener |