summaryrefslogtreecommitdiff
path: root/sw/inc/ndarr.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-20 16:29:47 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-23 04:02:12 +0100
commit7a6639fc9d0bfc3481744a6de648ccbf754a109d (patch)
treec872cc3f68289f426aeb950901247147bdbe8c8b /sw/inc/ndarr.hxx
parent82ef5f9eab317171d4b08f5471222cce8f1fcdbf (diff)
Move Register/DeRegister functions to SwNodeIndex
- allows more inlining - allows removing another friendliness - belongs there anyway Change-Id: I5d0d24f60caa06533efcd3f41f313fe55dd365e1
Diffstat (limited to 'sw/inc/ndarr.hxx')
-rw-r--r--sw/inc/ndarr.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx
index c7979dae5be9..a4c83c665b7c 100644
--- a/sw/inc/ndarr.hxx
+++ b/sw/inc/ndarr.hxx
@@ -96,6 +96,7 @@ class SW_DLLPUBLIC SwNodes
friend class ::sw::DocumentContentOperationsManager;
SwNodeIndex* vIndices; ///< ring of all indices on nodes.
+ void RemoveNode( sal_uLong nDelPos, sal_uLong nLen, bool bDel );
void InsertNode( const SwNodePtr pNode,
const SwNodeIndex& rPos );
@@ -115,11 +116,6 @@ class SW_DLLPUBLIC SwNodes
bool bInDelUpdOutl : 1; ///< Flag for updating of Outline.
bool bInDelUpdNum : 1; ///< Flag for updating of Outline.
- /// For administering indices.
- void RegisterIndex( SwNodeIndex& rIdx );
- void DeRegisterIndex( SwNodeIndex& rIdx );
- void RemoveNode( sal_uLong nDelPos, sal_uLong nLen, bool bDel );
-
// Actions on the nodes.
void SectionUpDown( const SwNodeIndex & aStart, const SwNodeIndex & aEnd );
void DelNodes( const SwNodeIndex& rStart, sal_uLong nCnt = 1 );
@@ -337,6 +333,7 @@ public:
void dumpAsXml( xmlTextWriterPtr writer = NULL ) const;
};
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */