summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/ftnfrm.hxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-10-15 11:50:20 +0000
committerjp <jp@openoffice.org>2001-10-15 11:50:20 +0000
commit6f629732649be7832d505867852148ea46d868eb (patch)
treed2fe0db8edcdcf2f210558e16e550356456c2cdb /sw/source/core/inc/ftnfrm.hxx
parent5e3aed711248f9486c80606ef52a2a32a0548c2e (diff)
Bug #I1818#: additional method for GetRef to access the ref. over the attribute
Diffstat (limited to 'sw/source/core/inc/ftnfrm.hxx')
-rw-r--r--sw/source/core/inc/ftnfrm.hxx32
1 files changed, 22 insertions, 10 deletions
diff --git a/sw/source/core/inc/ftnfrm.hxx b/sw/source/core/inc/ftnfrm.hxx
index 0108f978d7dc..6cf873db5fb3 100644
--- a/sw/source/core/inc/ftnfrm.hxx
+++ b/sw/source/core/inc/ftnfrm.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ftnfrm.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: mib $ $Date: 2001-10-12 13:26:44 $
+ * last change: $Author: jp $ $Date: 2001-10-15 12:50:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -122,14 +122,26 @@ public:
BOOL operator<( const SwTxtFtn* pTxtFtn ) const;
- SwCntntFrm *GetRef() { return pRef; }
- SwFtnFrm *GetFollow() { return pFollow; }
- SwFtnFrm *GetMaster() { return pMaster; }
- const SwTxtFtn *GetAttr() const { return pAttr; }
- SwTxtFtn *GetAttr() { return pAttr; }
- const SwCntntFrm *GetRef() const { return pRef; }
- const SwFtnFrm *GetFollow() const { return pFollow; }
- const SwFtnFrm *GetMaster() const { return pMaster; }
+#ifdef PRODUCT
+ const SwCntntFrm *GetRef() const { return pRef; }
+ SwCntntFrm *GetRef() { return pRef; }
+#else
+ //JP 15.10.2001: in a non pro version test if the attribute has the same
+ // meaning which his reference is
+ const SwCntntFrm *GetRef() const;
+ SwCntntFrm *GetRef();
+#endif
+ const SwCntntFrm *GetRefFromAttr() const;
+ SwCntntFrm *GetRefFromAttr();
+
+ const SwFtnFrm *GetFollow() const { return pFollow; }
+ SwFtnFrm *GetFollow() { return pFollow; }
+
+ const SwFtnFrm *GetMaster() const { return pMaster; }
+ SwFtnFrm *GetMaster() { return pMaster; }
+
+ const SwTxtFtn *GetAttr() const { return pAttr; }
+ SwTxtFtn *GetAttr() { return pAttr; }
void SetFollow( SwFtnFrm *pNew ) { pFollow = pNew; }
void SetMaster( SwFtnFrm *pNew ) { pMaster = pNew; }