summaryrefslogtreecommitdiff
path: root/sw/inc/unofield.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/unofield.hxx')
-rw-r--r--sw/inc/unofield.hxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/sw/inc/unofield.hxx b/sw/inc/unofield.hxx
index 1a1a489f26..abbd3f9e8f 100644
--- a/sw/inc/unofield.hxx
+++ b/sw/inc/unofield.hxx
@@ -43,7 +43,6 @@ class SwDoc;
class SwFmtFld;
class SwField;
class SwSetExpField;
-class String;
class SwTextAPIObject;
/* -----------------04.12.98 12:49-------------------
@@ -206,15 +205,13 @@ public:
const SwField* GetField() const;
const SwFmtFld* GetFldFmt(){return GetField() ? pFmtFld : 0; };
- // #111840#
- /**
- Returns position of this field.
-
- @return position of this field
- */
- SwPosition * GetPosition();
void Invalidate();
};
+
+/// @return a SwXTextField, either an already existing one or a new one
+SwXTextField * CreateSwXTextField(SwDoc & rDoc, SwFmtFld const& rFmt);
+
+
/* -----------------21.12.98 10:26-------------------
*
* --------------------------------------------------*/