diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-11-30 17:31:46 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-02 00:33:18 +0100 |
commit | efddd4b6e0e80bdbdb74ea43654d258dedb7d13d (patch) | |
tree | 0c9112cbf65a244da603962fe2e91bf7ccb92407 /sw/inc/ring.hxx | |
parent | 2353618ff955cf5504ab7a69eaf2b7e5593b666b (diff) |
private pointer
Change-Id: I2c5b2a5d99236f3d3887bba994acd1cf77ae83ba
Diffstat (limited to 'sw/inc/ring.hxx')
-rw-r--r-- | sw/inc/ring.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx index 9695a8f6599d..8b65d721e848 100644 --- a/sw/inc/ring.hxx +++ b/sw/inc/ring.hxx @@ -22,15 +22,18 @@ #include <swdllapi.h> #include <swtypes.hxx> +class Ring_node_traits; + class SW_DLLPUBLIC Ring { + friend class Ring_node_traits; + Ring* pNext; + Ring* pPrev; ///< In order to speed up inserting and deleting. protected: 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 ); |