diff options
author | jp <jp@openoffice.org> | 2001-10-24 17:43:03 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2001-10-24 17:43:03 +0000 |
commit | 091498c17fd1d8b430d4ca6c040d37df06133b66 (patch) | |
tree | c9ab73b7b4112b60060e4488cf119b9fa16758bc /sw/inc/expfld.hxx | |
parent | 49a15e899836b8b36ccae0816b5c2b4fb2657fb5 (diff) |
Task #88180#: change parameters of PutValue/QueryValue methods
Diffstat (limited to 'sw/inc/expfld.hxx')
-rw-r--r-- | sw/inc/expfld.hxx | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx index de3290d3eb9b..4228f5ae9627 100644 --- a/sw/inc/expfld.hxx +++ b/sw/inc/expfld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: expfld.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: os $ $Date: 2001-07-20 12:49:47 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -166,8 +166,8 @@ public: virtual USHORT GetSubType() const; virtual void SetSubType(USHORT nType); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); static USHORT GetReferenceTextPos( const SwFmtFld& rFmt, SwDoc& rDoc); }; @@ -238,8 +238,8 @@ public: const SwNode* GetOutlineChgNd() const { return pOutlChgNd; } void SetOutlineChgNd( const SwNode* p ) { pOutlChgNd = p; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline void SwSetExpFieldType::SetType( USHORT nTyp ) @@ -305,8 +305,8 @@ public: // Die Formel virtual String GetPar2() const; virtual void SetPar2(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline const String& SwSetExpField::GetExpStr() const @@ -380,8 +380,8 @@ public: virtual USHORT GetSubType() const; virtual void SetSubType(USHORT nSub); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -458,12 +458,11 @@ public: void CalcField( SwTblCalcPara& rCalcPara ); virtual String GetCntnt(BOOL bName = FALSE) const; - // Die Formel virtual String GetPar2() const; virtual void SetPar2(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; |