summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-21 12:23:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-21 14:26:32 +0100
commit91e181ea585855bea97a07823f7334d0b98b20d5 (patch)
tree2578b79ddca097390802b5d2f5d5676d6a7821ff /include/svtools
parent958f7b512cff932f7f2d52d128c297d0f0ab6354 (diff)
remove uses of COMPARE_*
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/simptabl.hxx2
-rw-r--r--include/svtools/treelist.hxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx
index 1b27463e09df..5b970feaf297 100644
--- a/include/svtools/simptabl.hxx
+++ b/include/svtools/simptabl.hxx
@@ -83,7 +83,7 @@ protected:
virtual void Command( const CommandEvent& rCEvt );
- virtual StringCompare ColCompare(SvTreeListEntry*,SvTreeListEntry*);
+ virtual sal_Int32 ColCompare(SvTreeListEntry*,SvTreeListEntry*);
public:
SvSimpleTable(SvSimpleTableContainer& rParent, WinBits nBits = WB_BORDER);
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx
index 220b2f4c7f88..96e50ec3f848 100644
--- a/include/svtools/treelist.hxx
+++ b/include/svtools/treelist.hxx
@@ -26,7 +26,6 @@
#include <tools/solar.h>
#include <tools/link.hxx>
-#include <tools/string.hxx>
#include <tools/debug.hxx>
#include <limits.h>
@@ -223,7 +222,7 @@ public:
void SetSortMode( SvSortMode eMode ) { eSortMode = eMode; }
SvSortMode GetSortMode() const { return eSortMode; }
- StringCompare Compare(const SvTreeListEntry* pLeft, const SvTreeListEntry* pRight) const;
+ sal_Int32 Compare(const SvTreeListEntry* pLeft, const SvTreeListEntry* pRight) const;
void SetCompareHdl( const Link& rLink ) { aCompareLink = rLink; }
const Link& GetCompareHdl() const { return aCompareLink; }
void Resort();