diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-01-07 07:16:13 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-01-07 07:16:13 +0000 |
commit | 7a411ea60fd5849dc5137a3ce787a9dc9fbf3545 (patch) | |
tree | fa045369e3232fc6ca120cbb942ef7b387d5450a /connectivity/source/drivers/file/fcode.cxx | |
parent | 8eb047db3a61f62133dc939ef420178311d95144 (diff) |
INTEGRATION: CWS supdremove (1.29.158); FILE MERGED
2007/11/16 10:22:24 vg 1.29.158.1: #i83674# cleanup: remove obsolete SUPD macro use
Diffstat (limited to 'connectivity/source/drivers/file/fcode.cxx')
-rw-r--r-- | connectivity/source/drivers/file/fcode.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/connectivity/source/drivers/file/fcode.cxx b/connectivity/source/drivers/file/fcode.cxx index ba567b1ab852..9c759f9eca18 100644 --- a/connectivity/source/drivers/file/fcode.cxx +++ b/connectivity/source/drivers/file/fcode.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fcode.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: obo $ $Date: 2006-09-17 02:36:03 $ + * last change: $Author: obo $ $Date: 2008-01-07 08:16:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -338,15 +338,6 @@ sal_Bool OOp_COMPARE::operate(const OOperand* pLeft, const OOperand* pRight) con case DataType::CHAR: case DataType::VARCHAR: { -#if SUPD < 632 - static String sLanguage; - static String sCountry; - if (!sLanguage.Len()) - MsLangId::convertLanguageToIsoNames(Application::GetAppInternational().GetLanguage(), sLanguage, sCountry); - - static rtl::OLocale aLocale = rtl::OLocale::registerLocale(sLanguage, sCountry); - INT32 nRes = compareIgnoreCase(aLH, aRH, aLocale); -#else rtl::OUString sLH = aLH, sRH = aRH; INT32 nRes = rtl_ustr_compareIgnoreAsciiCase_WithLength ( @@ -354,7 +345,6 @@ sal_Bool OOp_COMPARE::operate(const OOperand* pLeft, const OOperand* pRight) con sLH.pData->length, sRH.pData->buffer, sRH.pData->length ); -#endif switch(aPredicateType) { case SQLFilterOperator::EQUAL: bResult = (nRes == 0); break; |