summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/checklbx.hxx8
-rw-r--r--svx/source/dialog/checklbx.cxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/include/svx/checklbx.hxx b/include/svx/checklbx.hxx
index 327dddc4d90b..8d9488fb6efe 100644
--- a/include/svx/checklbx.hxx
+++ b/include/svx/checklbx.hxx
@@ -58,12 +58,12 @@ public:
void RemoveEntry ( sal_uInt16 nPos );
void SelectEntryPos ( sal_uInt16 nPos, sal_Bool bSelect = sal_True );
- sal_uInt16 GetSelectEntryPos () const;
+ sal_uInt16 GetSelectEntryPos () const;
- String GetText ( sal_uInt16 nPos ) const;
- sal_uInt16 GetCheckedEntryCount() const;
+ OUString GetText ( sal_uInt16 nPos ) const;
+ sal_uInt16 GetCheckedEntryCount() const;
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* SetEntryData ( sal_uInt16 nPos, void* pNewData );
diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx
index e923d91f7d07..03869f7db50b 100644
--- a/svx/source/dialog/checklbx.cxx
+++ b/svx/source/dialog/checklbx.cxx
@@ -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 );
if ( pEntry )
return GetEntryText( pEntry );
- return String();
+ return OUString();
}
// -----------------------------------------------------------------------