summaryrefslogtreecommitdiff
path: root/sw/inc/ring.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-30 17:04:22 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-02 00:33:18 +0100
commit2353618ff955cf5504ab7a69eaf2b7e5593b666b (patch)
tree27f42200bb0fb39042d89ea0aea38526b45bedf9 /sw/inc/ring.hxx
parent9e4e7b2f454a5a3ccd619e9789461d474c2dacc7 (diff)
use boost
Change-Id: Ic5ded259912eb4d6b367ea294dc3a372fcd44195
Diffstat (limited to 'sw/inc/ring.hxx')
-rw-r--r--sw/inc/ring.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx
index 25697c9b120e..9695a8f6599d 100644
--- a/sw/inc/ring.hxx
+++ b/sw/inc/ring.hxx
@@ -21,17 +21,16 @@
#include <swdllapi.h>
#include <swtypes.hxx>
-#include <boost/intrusive/list.hpp>
class SW_DLLPUBLIC Ring
{
- Ring *pNext;
- Ring* pPrev; ///< In order to speed up inserting and deleting.
protected:
- Ring() { pNext = this; pPrev = this; }
+ Ring();
Ring( Ring * );
public:
+ Ring* pNext;
+ Ring* pPrev; ///< In order to speed up inserting and deleting.
virtual ~Ring();
void MoveTo( Ring *pDestRing );
void MoveRingTo( Ring *pDestRing );
@@ -40,7 +39,6 @@ public:
Ring* GetPrev() const { return pPrev; }
sal_uInt32 numberOf() const;
- boost::intrusive::list_member_hook<> m_aHook;
};
#endif