diff options
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/SwNodeNum.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/inc/SwNodeNum.hxx b/sw/inc/SwNodeNum.hxx index d9e61b115b55..cb277b7e7880 100644 --- a/sw/inc/SwNodeNum.hxx +++ b/sw/inc/SwNodeNum.hxx @@ -30,7 +30,9 @@ class SW_DLLPUBLIC SwNodeNum : public SwNumberTreeNode { public: - explicit SwNodeNum( SwTextNode* pTextNode ); + explicit SwNodeNum( SwTextNode* pTextNode, bool isHiddenRedlines ); + // note: this is only for creating phantom nodes and root nodes; these + // never have a text node explicit SwNodeNum( SwNumRule* pNumRule ); virtual ~SwNodeNum() override; @@ -79,8 +81,9 @@ protected: // method called at a child after this child has been removed from the list tree virtual void PostRemove() override; private: - SwTextNode * mpTextNode; + SwTextNode *const mpTextNode; SwNumRule * mpNumRule; + bool m_isHiddenRedlines; static void UnregisterMeAndChildrenDueToRootDelete( SwNodeNum& rNodeNum ); |