diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-09 11:10:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-10 11:04:12 +0200 |
commit | e656d583e7fd9b7d2b1bbe2d8716e75ab2023c2c (patch) | |
tree | 091749d131944584e0150b49f72a5ae13301cea0 /include/svx | |
parent | 1dcef2a123fb54bfc1360c04f8e49783445c734c (diff) |
use SimpleReferenceObject in sdr::overlay::OverlayManager
to replace hand-rolled version
Change-Id: I3f47bf686ac07bba03acacace817767f2845af4f
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sdr/overlay/overlaymanager.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/svx/sdr/overlay/overlaymanager.hxx b/include/svx/sdr/overlay/overlaymanager.hxx index b5c7c7bbe585..fd7437a0509d 100644 --- a/include/svx/sdr/overlay/overlaymanager.hxx +++ b/include/svx/sdr/overlay/overlaymanager.hxx @@ -30,6 +30,7 @@ #include <svtools/optionsdrawinglayer.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <drawinglayer/geometry/viewinformation2d.hxx> +#include <salhelper/simplereferenceobject.hxx> // predeclarations @@ -54,10 +55,8 @@ namespace sdr class SVX_DLLPUBLIC OverlayManager : private boost::noncopyable , protected ::sdr::animation::Scheduler - , public rtl::IReference + , public salhelper::SimpleReferenceObject { - private: - oslInterlockedCount mnRefCount; protected: // the OutputDevice to work on, set on construction and not to be changed OutputDevice& rmOutputDevice; @@ -137,9 +136,6 @@ namespace sdr const SvtOptionsDrawinglayer& getDrawinglayerOpt() const { return maDrawinglayerOpt; } void InsertEvent(sdr::animation::Event* pNew) { Scheduler::InsertEvent(pNew); } - - virtual oslInterlockedCount SAL_CALL acquire() SAL_OVERRIDE; - virtual oslInterlockedCount SAL_CALL release() SAL_OVERRIDE; }; } // end of namespace overlay } // end of namespace sdr |