diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-16 07:50:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-16 15:21:36 +0100 |
commit | 437c4984dbffbc531e1eeddf9c3b8f415f404c59 (patch) | |
tree | 7359d1012b12026f66807eb7a25acb05b4f21c15 /svl/inc | |
parent | 2c676c03f3e09c12b8524f2a803374b9f68b2c83 (diff) |
upgrade GetValueTextByPos family to rtl::OUString
Diffstat (limited to 'svl/inc')
-rw-r--r-- | svl/inc/svl/aeitem.hxx | 12 | ||||
-rw-r--r-- | svl/inc/svl/cenumitm.hxx | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/svl/inc/svl/aeitem.hxx b/svl/inc/svl/aeitem.hxx index 787811219ee8..d0f8b9f41449 100644 --- a/svl/inc/svl/aeitem.hxx +++ b/svl/inc/svl/aeitem.hxx @@ -53,17 +53,17 @@ public: ~SfxAllEnumItem(); void InsertValue( sal_uInt16 nValue ); - void InsertValue( sal_uInt16 nValue, const XubString &rText ); + void InsertValue( sal_uInt16 nValue, const rtl::OUString &rText ); void RemoveValue( sal_uInt16 nValue ); - sal_uInt16 GetPosByValue( sal_uInt16 nValue ) const; + sal_uInt16 GetPosByValue( sal_uInt16 nValue ) const; - virtual sal_uInt16 GetValueCount() const; - virtual sal_uInt16 GetValueByPos( sal_uInt16 nPos ) const; - virtual XubString GetValueTextByPos( sal_uInt16 nPos ) const; + virtual sal_uInt16 GetValueCount() const; + virtual sal_uInt16 GetValueByPos( sal_uInt16 nPos ) const; + virtual rtl::OUString GetValueTextByPos( sal_uInt16 nPos ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Create(SvStream &, sal_uInt16 nVersion) const; - virtual sal_Bool IsEnabled( sal_uInt16 ) const; + virtual sal_Bool IsEnabled( sal_uInt16 ) const; void DisableValue( sal_uInt16 ); }; diff --git a/svl/inc/svl/cenumitm.hxx b/svl/inc/svl/cenumitm.hxx index 0b710b90854d..e2ff0e27330a 100644 --- a/svl/inc/svl/cenumitm.hxx +++ b/svl/inc/svl/cenumitm.hxx @@ -61,7 +61,7 @@ public: virtual sal_uInt16 GetValueCount() const = 0; - virtual XubString GetValueTextByPos(sal_uInt16 nPos) const; + virtual rtl::OUString GetValueTextByPos(sal_uInt16 nPos) const; virtual sal_uInt16 GetValueByPos(sal_uInt16 nPos) const; |