Kaydet (Commit) 10cbf483 authored tarafından Noel Grandin's avatar Noel Grandin

convert include/svx/checklbx.hxx from String to OUString

Change-Id: If632dc3e2fc13379ab3f2bb3f63f1e48a5119a57
üst 1647a569
...@@ -58,12 +58,12 @@ public: ...@@ -58,12 +58,12 @@ public:
void RemoveEntry ( sal_uInt16 nPos ); void RemoveEntry ( sal_uInt16 nPos );
void SelectEntryPos ( sal_uInt16 nPos, sal_Bool bSelect = sal_True ); void SelectEntryPos ( sal_uInt16 nPos, sal_Bool bSelect = sal_True );
sal_uInt16 GetSelectEntryPos () const; sal_uInt16 GetSelectEntryPos () const;
String GetText ( sal_uInt16 nPos ) const; OUString GetText ( sal_uInt16 nPos ) const;
sal_uInt16 GetCheckedEntryCount() const; sal_uInt16 GetCheckedEntryCount() const;
void CheckEntryPos ( sal_uInt16 nPos, sal_Bool bCheck = sal_True ); void CheckEntryPos ( sal_uInt16 nPos, sal_Bool bCheck = sal_True );
sal_Bool IsChecked ( sal_uInt16 nPos ) const; sal_Bool IsChecked ( sal_uInt16 nPos ) const;
void ToggleCheckButton ( SvTreeListEntry* pEntry ); void ToggleCheckButton ( SvTreeListEntry* pEntry );
void* SetEntryData ( sal_uInt16 nPos, void* pNewData ); void* SetEntryData ( sal_uInt16 nPos, void* pNewData );
......
...@@ -122,13 +122,13 @@ sal_uInt16 SvxCheckListBox::GetSelectEntryPos() const ...@@ -122,13 +122,13 @@ sal_uInt16 SvxCheckListBox::GetSelectEntryPos() const
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
String SvxCheckListBox::GetText( sal_uInt16 nPos ) const OUString SvxCheckListBox::GetText( sal_uInt16 nPos ) const
{ {
SvTreeListEntry* pEntry = GetEntry( nPos ); SvTreeListEntry* pEntry = GetEntry( nPos );
if ( pEntry ) if ( pEntry )
return GetEntryText( pEntry ); return GetEntryText( pEntry );
return String(); return OUString();
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
......
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