summaryrefslogtreecommitdiffstats
path: root/sw/inc/fldbas.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-07 16:52:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-08 12:02:36 +0000
commite73b23562911c15e9996eea70d3aff4983a2018c (patch)
tree2982c0dfc0d121d9be5192acca84eb49289e4670 /sw/inc/fldbas.hxx
parentSTATE_CHANGE_FORMAT is an unused state now (diff)
downloadcore-e73b23562911c15e9996eea70d3aff4983a2018c.tar.gz
core-e73b23562911c15e9996eea70d3aff4983a2018c.zip
tidy up WW8FormulaControl, with knock on results elsewhere
Diffstat (limited to 'sw/inc/fldbas.hxx')
-rw-r--r--sw/inc/fldbas.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx
index 583f28688f94..404dcfc66ef0 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -254,7 +254,7 @@ public:
static const String& GetTypeStr( sal_uInt16 nTypeId );
// Only in derived classes.
- virtual const String& GetName() const;
+ virtual const rtl::OUString& GetName() const;
virtual SwFieldType* Copy() const = 0;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich );
@@ -332,14 +332,14 @@ public:
// Query parameters for dialog and for BASIC.
inline sal_uInt32 GetFormat() const;
- virtual const String& GetPar1() const;
- virtual String GetPar2() const;
+ virtual const rtl::OUString& GetPar1() const;
+ virtual rtl::OUString GetPar2() const;
virtual String GetFormula() const;
virtual void ChangeFormat(sal_uInt32 n);
- virtual void SetPar1(const String& rStr);
- virtual void SetPar2(const String& rStr);
+ virtual void SetPar1(const rtl::OUString& rStr);
+ 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 );