diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/shtabdlg.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/shtabdlg.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/inc/shtabdlg.hxx b/sc/source/ui/inc/shtabdlg.hxx index 205ed0151a42..326a0f4db5ba 100644 --- a/sc/source/ui/inc/shtabdlg.hxx +++ b/sc/source/ui/inc/shtabdlg.hxx @@ -44,14 +44,14 @@ public: /** Sets dialog title, fixed text for listbox and help IDs. */ void SetDescription( - const String& rTitle, const String& rFixedText, + const OUString& rTitle, const OUString& rFixedText, const OString& nDlgHelpId, const OString& nLbHelpId ); /** Inserts a string into the ListBox. */ - void Insert( const String& rString, sal_Bool bSelected ); + void Insert( const OUString& rString, sal_Bool bSelected ); sal_uInt16 GetSelectEntryCount() const; - String GetSelectEntry(sal_uInt16 nPos) const; + OUString GetSelectEntry(sal_uInt16 nPos) const; sal_uInt16 GetSelectEntryPos(sal_uInt16 nPos) const; }; diff --git a/sc/source/ui/miscdlgs/shtabdlg.cxx b/sc/source/ui/miscdlgs/shtabdlg.cxx index ae3f4877697f..03949ef7593b 100644 --- a/sc/source/ui/miscdlgs/shtabdlg.cxx +++ b/sc/source/ui/miscdlgs/shtabdlg.cxx @@ -51,7 +51,7 @@ ScShowTabDlg::ScShowTabDlg( Window* pParent ) : //------------------------------------------------------------------------ void ScShowTabDlg::SetDescription( - const String& rTitle, const String& rFixedText, + const OUString& rTitle, const OUString& rFixedText, const OString& rDlgHelpId, const OString& sLbHelpId ) { SetText( rTitle ); @@ -60,7 +60,7 @@ void ScShowTabDlg::SetDescription( aLb.SetHelpId( sLbHelpId ); } -void ScShowTabDlg::Insert( const String& rString, sal_Bool bSelected ) +void ScShowTabDlg::Insert( const OUString& rString, sal_Bool bSelected ) { aLb.InsertEntry( rString ); if( bSelected ) @@ -74,7 +74,7 @@ sal_uInt16 ScShowTabDlg::GetSelectEntryCount() const return aLb.GetSelectEntryCount(); } -String ScShowTabDlg::GetSelectEntry(sal_uInt16 nPos) const +OUString ScShowTabDlg::GetSelectEntry(sal_uInt16 nPos) const { return aLb.GetSelectEntry(nPos); } |