summaryrefslogtreecommitdiff
path: root/sw/inc/unofield.hxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-03-30 13:15:27 +0000
committerOliver Specht <os@openoffice.org>2001-03-30 13:15:27 +0000
commit400ff1efe013bc4d34d015067c721589a5ba808b (patch)
treef9ecf92c871cb41e367bd746b1c5e60a753486da /sw/inc/unofield.hxx
parent3ea5eb52091b4a7928f8cb2cb63daf2bba417bef (diff)
create database fieldmaster when all information is set
Diffstat (limited to 'sw/inc/unofield.hxx')
-rw-r--r--sw/inc/unofield.hxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/sw/inc/unofield.hxx b/sw/inc/unofield.hxx
index 46ab0b28f1e9..91956b2a85f2 100644
--- a/sw/inc/unofield.hxx
+++ b/sw/inc/unofield.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unofield.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: os $ $Date: 2001-03-23 15:28:20 $
+ * last change: $Author: os $ $Date: 2001-03-30 14:15:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -99,10 +99,10 @@ class SwXFieldMaster : public cppu::WeakImplHelper4
public SwClient
{
SwEventListenerContainer aLstnrCntnr;
- sal_uInt16 nResTypeId;
+ sal_uInt16 nResTypeId;
SwDoc* m_pDoc;
- sal_Bool m_bIsDescriptor;
+ sal_Bool m_bIsDescriptor;
String sParam1; //Content / Database / NumberingSeparator
String sParam2; // - /DataTablename
@@ -113,8 +113,6 @@ class SwXFieldMaster : public cppu::WeakImplHelper4
sal_Int16 nParam2;
public:
-// automatisch auskommentiert - [getImplementation] - Wird von OWeakObject nicht weiter untersttzt!
-// // fuer getImplementation() und fuer den ServiceProvider
SwXFieldMaster(SwDoc* pDoc, sal_uInt16 nResId);
SwXFieldMaster(SwFieldType& rType, SwDoc* pDoc);
@@ -154,7 +152,7 @@ public:
static rtl::OUString GetSetExpUIName(const rtl::OUString& rName);
static rtl::OUString LocalizeFormula(const SwSetExpField& rFld, const rtl::OUString& rFormula, sal_Bool bQuery);
- SwFieldType* GetFldType() const { return (SwFieldType*)GetRegisteredIn(); }
+ SwFieldType* GetFldType(sal_Bool bDontCreate = sal_False) const;
SwDoc* GetDoc() {return m_pDoc;}
sal_Bool IsDescriptor()const {return m_bIsDescriptor;}