Kaydet (Commit) 3807fff9 authored tarafından Noel Grandin's avatar Noel Grandin

convert sc/.../shtabdlg.hxx from String to OUString

Change-Id: If14242d10a417b692f39f093febcda803f08c008
üst 132731f0
......@@ -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;
};
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment