diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-07 16:52:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-08 12:02:36 +0000 |
commit | e73b23562911c15e9996eea70d3aff4983a2018c (patch) | |
tree | 2982c0dfc0d121d9be5192acca84eb49289e4670 /sw/inc/usrfld.hxx | |
parent | 68f7b7a37309f577da1b868ee012246449133c01 (diff) |
tidy up WW8FormulaControl, with knock on results elsewhere
Diffstat (limited to 'sw/inc/usrfld.hxx')
-rw-r--r-- | sw/inc/usrfld.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/usrfld.hxx b/sw/inc/usrfld.hxx index 8276c63d3b0d..a16efc6d0832 100644 --- a/sw/inc/usrfld.hxx +++ b/sw/inc/usrfld.hxx @@ -41,14 +41,14 @@ class SW_DLLPUBLIC SwUserFieldType : public SwValueFieldType sal_Bool bValidValue : 1; sal_Bool bDeleted : 1; double nValue; - String aName; + rtl::OUString aName; String aContent; sal_uInt16 nType; public: SwUserFieldType( SwDoc* pDocPtr, const String& ); - virtual const String& GetName() const; + virtual const rtl::OUString& GetName() const; virtual SwFieldType* Copy() const; String Expand(sal_uInt32 nFmt, sal_uInt16 nSubType, sal_uInt16 nLng); @@ -117,11 +117,11 @@ public: virtual String GetFieldName() const; // Name cannot be changed. - virtual const String& GetPar1() const; + virtual const rtl::OUString& GetPar1() const; // Content. - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual rtl::OUString GetPar2() const; + virtual void SetPar2(const rtl::OUString& rStr); virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhichId ); }; |