summaryrefslogtreecommitdiff
path: root/sw/inc/ddefld.hxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-03-08 20:28:23 +0000
committerjp <jp@openoffice.org>2001-03-08 20:28:23 +0000
commit9567064f53842eff82e7b0736d0dd23cfee66c03 (patch)
treed242a697fc016bb575e12225d48f9ee865eb892c /sw/inc/ddefld.hxx
parent47884ef9a7cc48f00bd32dca5bb55e45ef4f5de6 (diff)
change: old data transfer API to the new
Diffstat (limited to 'sw/inc/ddefld.hxx')
-rw-r--r--sw/inc/ddefld.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx
index 32e48f01a814..7cb6491c953b 100644
--- a/sw/inc/ddefld.hxx
+++ b/sw/inc/ddefld.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ddefld.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:14:25 $
+ * last change: $Author: jp $ $Date: 2001-03-08 21:17:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,7 +77,7 @@ class SwDDEFieldType : public SwFieldType
String aName;
String aExpansion;
- SvBaseLinkRef refLink;
+ ::so3::SvBaseLinkRef refLink;
SwDoc* pDoc;
USHORT nRefCnt;
@@ -109,11 +109,12 @@ public:
BOOL IsDeleted() const { return bDeleted; }
void SetDeleted( BOOL b ) { bDeleted = b; }
- BOOL IsConnected() const { return 0 != refLink->GetObject(); }
+ BOOL IsConnected() const { return 0 != refLink->GetObj(); }
void UpdateNow() { refLink->Update(); }
void Disconnect() { refLink->Disconnect(); }
- const SvBaseLink& GetBaseLink() const { return *refLink; }
+ const ::so3::SvBaseLink& GetBaseLink() const { return *refLink; }
+ ::so3::SvBaseLink& GetBaseLink() { return *refLink; }
const SwDoc* GetDoc() const { return pDoc; }
SwDoc* GetDoc() { return pDoc; }