summaryrefslogtreecommitdiff
path: root/i18npool/source/indexentry/indexentrysupplier.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-03-26 09:54:59 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-03-26 09:54:59 +0000
commit9f9bfe677d855d9883360e151d15a6cb6c4d9f7d (patch)
tree0156c5d69ea94a0379566d2ccda1ced3f40986fc /i18npool/source/indexentry/indexentrysupplier.cxx
parent8ee2a0686f065b059e77f7b0a276a071373c7106 (diff)
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'i18npool/source/indexentry/indexentrysupplier.cxx')
-rw-r--r--i18npool/source/indexentry/indexentrysupplier.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier.cxx b/i18npool/source/indexentry/indexentrysupplier.cxx
index dfee8434bc8e..d6e02b697d88 100644
--- a/i18npool/source/indexentry/indexentrysupplier.cxx
+++ b/i18npool/source/indexentry/indexentrysupplier.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: indexentrysupplier.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: khong $ $Date: 2002-09-06 01:19:30 $
+ * last change: $Author: hr $ $Date: 2003-03-26 10:54:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -269,9 +269,13 @@ OUString SAL_CALL IndexEntrySupplier::getIndexCharacter( const OUString& rIndexE
getIndexCharacter( rIndexEntry, rLocale, rSortAlgorithm );
}
+#if (_MSC_VER < 1300)
sal_Bool SAL_CALL operator == (const Locale& l1, const Locale& l2) {
return l1.Language == l2.Language && l1.Country == l2.Country && l1.Variant == l2.Variant;
}
+#else
+extern sal_Bool SAL_CALL operator == (const Locale& l1, const Locale& l2);
+#endif
sal_Bool SAL_CALL IndexEntrySupplier::createLocaleSpecificIndexEntrySupplier(const OUString& name) throw( RuntimeException )
{