summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-20 15:43:12 +0200
committerNoel Grandin <noel@peralex.com>2013-10-04 08:48:55 +0200
commit3807fff9f1c0aa96d5db0a42c9bc5038d3ff35b2 (patch)
tree5d2b10235410f7363a785d9425e895604591c377 /sc/source
parent132731f0704b5a9e996cb0d413c8e369efe8875f (diff)
convert sc/.../shtabdlg.hxx from String to OUString
Change-Id: If14242d10a417b692f39f093febcda803f08c008
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/inc/shtabdlg.hxx6
-rw-r--r--sc/source/ui/miscdlgs/shtabdlg.cxx6
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);
}