summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xelink.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xelink.cxx')
-rw-r--r--sc/source/filter/excel/xelink.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx
index 29515505e54d..e08b6922a57f 100644
--- a/sc/source/filter/excel/xelink.cxx
+++ b/sc/source/filter/excel/xelink.cxx
@@ -839,7 +839,7 @@ typedef ::std::vector< XclExpTabName > XclExpTabNameVec;
inline bool operator<( const XclExpTabName& rArg1, const XclExpTabName& rArg2 )
{
// compare the sheet names only
- return ScGlobal::GetCollator()->compareString( rArg1.first, rArg2.first ) == COMPARE_LESS;
+ return ScGlobal::GetCollator()->compareString( rArg1.first, rArg2.first ) < 0;
}
void XclExpTabInfo::CalcSortedIndexes()