summaryrefslogtreecommitdiffstats
path: root/include/svtools/svtabbx.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-12 10:57:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-12 11:20:10 +0100
commit63483b882c80d656dff4279e5be8a59a664a06fe (patch)
treeab3f0f06b1ddbbb8eeaba973da1e964aefcfba49 /include/svtools/svtabbx.hxx
parent-WaE remove unused variables (diff)
downloadcore-63483b882c80d656dff4279e5be8a59a664a06fe.tar.gz
core-63483b882c80d656dff4279e5be8a59a664a06fe.zip
XubString->OUString
Change-Id: Ibcb2dd5861ad14e286596999b757ca5c41137626
Diffstat (limited to 'include/svtools/svtabbx.hxx')
-rw-r--r--include/svtools/svtabbx.hxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx
index 167e41e443cd..e3368ed90ea7 100644
--- a/include/svtools/svtabbx.hxx
+++ b/include/svtools/svtabbx.hxx
@@ -47,8 +47,8 @@ class SVT_DLLPUBLIC SvTabListBox : public SvTreeListBox
{
private:
SvLBoxTab* pTabList;
- sal_uInt16 nTabCount;
- XubString aCurEntry;
+ sal_uInt16 nTabCount;
+ OUString aCurEntry;
protected:
SvTreeListEntry* pViewParent;
@@ -73,12 +73,12 @@ public:
void SetTab( sal_uInt16 nTab, long nValue, MapUnit = MAP_APPFONT );
long GetLogicTab( sal_uInt16 nTab );
- virtual SvTreeListEntry* InsertEntry( const XubString& rText, SvTreeListEntry* pParent = 0,
+ virtual SvTreeListEntry* InsertEntry( const OUString& rText, SvTreeListEntry* pParent = 0,
sal_Bool bChildrenOnDemand = sal_False,
sal_uLong nPos=LIST_APPEND, void* pUserData = 0,
SvLBoxButtonKind eButtonKind = SvLBoxButtonKind_enabledCheckbox );
- virtual SvTreeListEntry* InsertEntry( const XubString& rText,
+ virtual SvTreeListEntry* InsertEntry( const OUString& rText,
const Image& rExpandedEntryBmp,
const Image& rCollapsedEntryBmp,
SvTreeListEntry* pParent = 0,
@@ -94,18 +94,18 @@ public:
const Image& rCollapsedEntryBmp, SvTreeListEntry* pParent = NULL,
sal_uLong nPos = LIST_APPEND, sal_uInt16 nCol = 0xffff, void* pUserData = NULL );
- virtual String GetEntryText( SvTreeListEntry* pEntry ) const;
- String GetEntryText( SvTreeListEntry*, sal_uInt16 nCol ) const;
- String GetEntryText( sal_uLong nPos, sal_uInt16 nCol = 0xffff ) const;
+ virtual OUString GetEntryText( SvTreeListEntry* pEntry ) const;
+ OUString GetEntryText( SvTreeListEntry*, sal_uInt16 nCol ) const;
+ OUString GetEntryText( sal_uLong nPos, sal_uInt16 nCol = 0xffff ) const;
using SvTreeListBox::SetEntryText;
- void SetEntryText(const OUString&, sal_uLong, sal_uInt16 nCol=0xffff);
- void SetEntryText(const OUString&, SvTreeListEntry*, sal_uInt16 nCol=0xffff);
- String GetCellText( sal_uLong nPos, sal_uInt16 nCol ) const;
- sal_uLong GetEntryPos( const XubString&, sal_uInt16 nCol = 0xffff );
- sal_uLong GetEntryPos( const SvTreeListEntry* pEntry ) const;
-
- virtual void Resize();
- void SetTabJustify( sal_uInt16 nTab, SvTabJustify );
+ void SetEntryText(const OUString&, sal_uLong, sal_uInt16 nCol=0xffff);
+ void SetEntryText(const OUString&, SvTreeListEntry*, sal_uInt16 nCol=0xffff);
+ OUString GetCellText( sal_uLong nPos, sal_uInt16 nCol ) const;
+ sal_uLong GetEntryPos( const OUString&, sal_uInt16 nCol = 0xffff );
+ sal_uLong GetEntryPos( const SvTreeListEntry* pEntry ) const;
+
+ virtual void Resize();
+ void SetTabJustify( sal_uInt16 nTab, SvTabJustify );
};
inline long SvTabListBox::GetTab( sal_uInt16 nTab ) const