summaryrefslogtreecommitdiff
path: root/sw/inc/ndindex.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/ndindex.hxx')
-rw-r--r--sw/inc/ndindex.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx
index 836e4b836e45..e0439ccdfa4d 100644
--- a/sw/inc/ndindex.hxx
+++ b/sw/inc/ndindex.hxx
@@ -25,19 +25,16 @@
#include <tools/solar.h>
#include <node.hxx>
+#include <ring.hxx>
class SwNode;
class SwNodes;
/// Marks a node in the document model.
-class SW_DLLPUBLIC SwNodeIndex SAL_FINAL
+class SW_DLLPUBLIC SwNodeIndex SAL_FINAL : public sw::Ring<SwNodeIndex>
{
- friend void SwNodes::RegisterIndex( SwNodeIndex& );
friend void SwNodes::DeRegisterIndex( SwNodeIndex& );
- friend void SwNodes::RemoveNode( sal_uLong, sal_uLong, bool );
-
SwNode* pNd;
- SwNodeIndex *pNext, *pPrev;
void Remove();