diff options
Diffstat (limited to 'sw/inc/calbck.hxx')
-rw-r--r-- | sw/inc/calbck.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 274bcf651830..64eafa8a26b5 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -23,6 +23,7 @@ #include <tools/rtti.hxx> #include "swdllapi.h" #include <boost/noncopyable.hpp> +#include <ring.hxx> class SwModify; class SwClientIter; @@ -202,7 +203,7 @@ protected: virtual void SwClientNotify( const SwModify& rModify, const SfxHint& rHint ) SAL_OVERRIDE; }; -class SwClientIter +class SwClientIter : public sw::Ring<SwClientIter> { friend SwClient* SwModify::Remove(SwClient *); ///< for pointer adjustments friend void SwModify::Add(SwClient *pDepend); ///< for pointer adjustments @@ -217,11 +218,6 @@ class SwClientIter // this is necessary because iteration requires access to members of the current object SwClient* pDelNext; - // SwClientIter objects are tracked in linked list so that they can react - // when the current (pAct) or marked down (pDelNext) SwClient is removed - // from its SwModify - SwClientIter *pNxtIter; - // iterator can be limited to return only SwClient objects of a certain type TypeId aSrchId; |