diff options
Diffstat (limited to 'include/svx/sdr')
-rw-r--r-- | include/svx/sdr/overlay/overlaymanager.hxx | 8 | ||||
-rw-r--r-- | include/svx/sdr/overlay/overlayobject.hxx | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/include/svx/sdr/overlay/overlaymanager.hxx b/include/svx/sdr/overlay/overlaymanager.hxx index c0a03c405521..24e77e8a7f30 100644 --- a/include/svx/sdr/overlay/overlaymanager.hxx +++ b/include/svx/sdr/overlay/overlaymanager.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SVX_SDR_OVERLAY_OVERLAYMANAGER_HXX #define INCLUDED_SVX_SDR_OVERLAY_OVERLAYMANAGER_HXX -#include <boost/utility.hpp> #include <rtl/ref.hxx> #include <svx/sdr/animation/scheduler.hxx> #include <svx/sdr/overlay/overlayobject.hxx> @@ -54,10 +53,13 @@ namespace sdr namespace overlay { class SVX_DLLPUBLIC OverlayManager - : private boost::noncopyable - , protected ::sdr::animation::Scheduler + : protected ::sdr::animation::Scheduler , public salhelper::SimpleReferenceObject { + private: + OverlayManager(const OverlayManager&) SAL_DELETED_FUNCTION; + OverlayManager& operator=(const OverlayManager&) SAL_DELETED_FUNCTION; + protected: // the OutputDevice to work on, set on construction and not to be changed OutputDevice& rmOutputDevice; diff --git a/include/svx/sdr/overlay/overlayobject.hxx b/include/svx/sdr/overlay/overlayobject.hxx index 857b7f9f20c0..7d803a289eda 100644 --- a/include/svx/sdr/overlay/overlayobject.hxx +++ b/include/svx/sdr/overlay/overlayobject.hxx @@ -56,9 +56,12 @@ namespace sdr { namespace overlay { - class SVX_DLLPUBLIC OverlayObject : private ::boost::noncopyable, public ::sdr::animation::Event + class SVX_DLLPUBLIC OverlayObject : public ::sdr::animation::Event { private: + OverlayObject(const OverlayObject&) SAL_DELETED_FUNCTION; + OverlayObject& operator=(const OverlayObject&) SAL_DELETED_FUNCTION; + // Manager is allowed access to private Member mpOverlayManager friend class OverlayManager; |