INTEGRATION: CWS swqbf57 (1.3.150); FILE MERGED
2006/03/08 09:41:34 od 1.3.150.1: #131436# class <SwNodeNum> - new static method <HandleNumberTreeRootNodeDelete(..)
This commit is contained in:
parent
85e3c8da71
commit
17fe2bc594
1 changed files with 16 additions and 2 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: SwNodeNum.hxx,v $
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Revision: 1.4 $
|
||||
*
|
||||
* last change: $Author: obo $ $Date: 2005-11-17 16:20:43 $
|
||||
* last change: $Author: obo $ $Date: 2006-03-21 15:28:29 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -51,6 +51,9 @@ class SW_DLLPUBLIC SwNodeNum : public SwNumberTreeNode
|
|||
tSwNumTreeNumber mnStart;
|
||||
bool mbRestart;
|
||||
|
||||
// --> OD 2006-03-07 #131436#
|
||||
static void _UnregisterMeAndChildrenDueToRootDelete( SwNodeNum& rNodeNum );
|
||||
// <--
|
||||
protected:
|
||||
void SetTxtNode(SwTxtNode * pTxtNode);
|
||||
SwTxtNode * GetTxtNode() const;
|
||||
|
@ -106,6 +109,17 @@ public:
|
|||
return mnStart;
|
||||
}
|
||||
// <--
|
||||
|
||||
// --> OD 2006-03-07 #131436#
|
||||
// The number tree root node is deleted, when the corresponding numbering
|
||||
// rule is deleted. In this situation the number tree should be empty -
|
||||
// still registered text nodes aren't allowed. But it is possible, that
|
||||
// text nodes of the undo nodes array are still registered. These will be
|
||||
// unregistered.
|
||||
// Text nodes of the document nodes array aren't allowed to be registered
|
||||
// in this situation - this will be asserted.
|
||||
static void HandleNumberTreeRootNodeDelete( SwNodeNum& rNodeNum );
|
||||
// <--
|
||||
};
|
||||
|
||||
#endif // _SW_NODE_NUM_HXX
|
||||
|
|
Loading…
Reference in a new issue