diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-20 16:49:36 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-23 04:02:12 +0100 |
commit | b74fc841445c92ce458619bbf73a5c6e08e2b640 (patch) | |
tree | 3fd3815314706c283611a30aac4558c100f23114 /sw/inc | |
parent | d5d46849714d4749467b409f6e9c7758b80e1b63 (diff) |
remove Remove()
Change-Id: Ic1854d5e8cd76825290a3af94d8884e93dd7f0da
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/ndindex.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx index 254dd29e6d62..ba3dc47f2a8a 100644 --- a/sw/inc/ndindex.hxx +++ b/sw/inc/ndindex.hxx @@ -36,9 +36,6 @@ class SW_DLLPUBLIC SwNodeIndex SAL_FINAL : public sw::Ring<SwNodeIndex> { SwNode* pNd; - void Remove() - { DeRegisterIndex( pNd->GetNodes() ); }; - // These are not allowed! SwNodeIndex( SwNodes& rNds, sal_uInt16 nIdx ); SwNodeIndex( SwNodes& rNds, int nIdx ); @@ -82,7 +79,8 @@ public: RegisterIndex( pNd->GetNodes() ); } - ~SwNodeIndex() { Remove(); } + ~SwNodeIndex() + { DeRegisterIndex( pNd->GetNodes() ); }; inline sal_uLong operator++(); inline sal_uLong operator--(); |