diff options
author | Oliver Specht <os@openoffice.org> | 2000-09-27 13:22:03 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2000-09-27 13:22:03 +0000 |
commit | 9588836fcc60c58bd65403f2037cc84ba4d88915 (patch) | |
tree | 664014d8a372091a78094ec382881a2a66c55658 | |
parent | fb5258422cc57c461fa523133bd31e31bb9fd898 (diff) |
#78714# force creation of seqence id
-rw-r--r-- | sw/source/core/unocore/unoftn.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoftn.cxx b/sw/source/core/unocore/unoftn.cxx index 1d848dec63ae..770558ac5e4b 100644 --- a/sw/source/core/unocore/unoftn.cxx +++ b/sw/source/core/unocore/unoftn.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoftn.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-19 00:08:28 $ + * last change: $Author: os $ $Date: 2000-09-27 14:22:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -323,6 +323,8 @@ void SwXFootnote::attachToRange(const uno::Reference< text::XTextRange > & xText const SwFmtFtn& rFtn = pTxtAttr->GetFtn(); pFmtFtn = &rFtn; pDoc->GetUnoCallBack()->Add(this); + //force creation of sequence id - is used for references + ((SwTxtFtn*)pTxtAttr)->SetSeqRefNo(); } m_bIsDescriptor = sal_False; SetDoc(pDoc); @@ -614,6 +616,9 @@ void SwXFootnote::removeVetoableChangeListener( const OUString& PropertyName, /*------------------------------------------------------------------------ $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/19 00:08:28 hr + initial import + Revision 1.8 2000/09/18 16:04:32 willem.vandorp OpenOffice header added. |