diff options
author | Oliver Specht <os@openoffice.org> | 2001-03-01 15:17:47 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-03-01 15:17:47 +0000 |
commit | 5511fe041c0fd9fb44f134736b59fad65630c908 (patch) | |
tree | 9830614219445710dba35d91105b8f7e890ca0df /sw/source | |
parent | af98edd6c759888a0d5c984686e6b781beabbb4f (diff) |
#84236# CreateTextRangeFromPam: in footnote text corrected
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/unocore/unoobj2.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx index 9023f39af7c9..c2d49af6f4a1 100644 --- a/sw/source/core/unocore/unoobj2.cxx +++ b/sw/source/core/unocore/unoobj2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoobj2.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: os $ $Date: 2001-02-28 14:36:57 $ + * last change: $Author: os $ $Date: 2001-03-01 16:17:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1496,7 +1496,10 @@ uno::Reference< XTextRange > SwXTextRange::CreateTextRangeFromPosition(SwDoc* p if(pSttNode == pTxtFtn->GetStartNode()->GetNode(). FindSttNodeByType(SwFootnoteStartNode)) { - aRet = new SwXFootnote(pDoc, rFtn); + xParentText = ((SwUnoCallBack*)pDoc->GetUnoCallBack())-> + GetFootnote(rFtn); + if(!xParentText.is()) + xParentText = new SwXFootnote(pDoc, rFtn); break; } } |