diff options
-rw-r--r-- | sw/inc/unoredline.hxx | 5 | ||||
-rw-r--r-- | sw/source/core/unocore/unoredline.cxx | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/sw/inc/unoredline.hxx b/sw/inc/unoredline.hxx index 2a2b87e25d6c..83e4dfea1055 100644 --- a/sw/inc/unoredline.hxx +++ b/sw/inc/unoredline.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unoredline.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: dvo $ $Date: 2001-01-19 19:47:04 $ + * last change: $Author: dvo $ $Date: 2001-06-25 14:01:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -84,6 +84,7 @@ class SwXRedlineText : public ::com::sun::star::container::XEnumerationAccess { SwNodeIndex aNodeIndex; + virtual const SwStartNode *GetStartNode() const; public: SwXRedlineText(SwDoc* pDoc, SwNodeIndex aNodeIndex); diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx index 727dc429e0b2..2883b7595a88 100644 --- a/sw/source/core/unocore/unoredline.cxx +++ b/sw/source/core/unocore/unoredline.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoredline.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: os $ $Date: 2001-06-20 08:59:51 $ + * last change: $Author: dvo $ $Date: 2001-06-25 14:01:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -142,6 +142,13 @@ SwXRedlineText::SwXRedlineText(SwDoc* pDoc, SwNodeIndex aIndex) : /* --------------------------------------------------------------------------- ---------------------------------------------------------------------------*/ +const SwStartNode* SwXRedlineText::GetStartNode() const +{ + return aNodeIndex.GetNode().GetStartNode(); +} +/* --------------------------------------------------------------------------- + + ---------------------------------------------------------------------------*/ Any SwXRedlineText::queryInterface( const Type& rType ) throw(RuntimeException) { |