summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/unodatbr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/browser/unodatbr.cxx')
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index 639d5067311a..0e3de536e19e 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -3402,16 +3402,16 @@ IMPL_LINK( SbaTableQueryBrowser, OnTreeEntryCompare, const SvSortData*, _pSortDa
eLeft = etQueryContainer;
if ( eLeft == eRight )
- return COMPARE_EQUAL;
+ return 0;
if ( ( eLeft == etTableContainer ) && ( eRight == etQueryContainer ) )
- return COMPARE_GREATER;
+ return 1;
if ( ( eLeft == etQueryContainer ) && ( eRight == etTableContainer ) )
- return COMPARE_LESS;
+ return -1;
SAL_WARN("dbaccess.ui", "SbaTableQueryBrowser::OnTreeEntryCompare: unexpected case!" );
- return COMPARE_EQUAL;
+ return 0;
}
const SvLBoxString* pLeftTextItem = static_cast<const SvLBoxString*>(pLHS->GetFirstItem(SV_ITEM_ID_LBOXSTRING));