diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-06-05 09:28:49 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-06-05 09:28:49 +0000 |
commit | ec0fe1e074cb5704eca474bb8c49c0800ea377c3 (patch) | |
tree | 0baafb6e8250ae582faf2c913e0b0c4cfc3f99b9 | |
parent | 1a142eb13d499ecc5d2c207d5953e484c22c9dbb (diff) |
INTEGRATION: CWS helplinker01 (1.5.10); FILE MERGED
2007/05/20 13:09:32 cmc 1.5.10.1: #i70155# remove warnings from newly used headers
-rw-r--r-- | icu/icu-3.6.patch | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/icu/icu-3.6.patch b/icu/icu-3.6.patch index afe065e69e69..e51fdc8620ee 100644 --- a/icu/icu-3.6.patch +++ b/icu/icu-3.6.patch @@ -917,3 +917,107 @@ extern int main(int argc, char *argv[]) { const char *pname, *sourcePath, *destPath, *inFilename, *outFilename, *outComment; +*** misc/icu/source/common/unicode/unistr.h 2007-05-20 08:40:31.000000000 -0400 +--- misc/build/icu/source/common/unicode/unistr.h 2007-05-20 08:42:01.000000000 -0400 +*************** +*** 3280,3286 **** + //======================================== + inline int8_t + UnicodeString::doCompare(int32_t start, +! int32_t length, + const UnicodeString& srcText, + int32_t srcStart, + int32_t srcLength) const +--- 3280,3286 ---- + //======================================== + inline int8_t + UnicodeString::doCompare(int32_t start, +! int32_t _length, + const UnicodeString& srcText, + int32_t srcStart, + int32_t srcLength) const +*************** +*** 3289,3295 **** + return (int8_t)!isBogus(); // 0 if both are bogus, 1 otherwise + } else { + srcText.pinIndices(srcStart, srcLength); +! return doCompare(start, length, srcText.fArray, srcStart, srcLength); + } + } + +--- 3289,3295 ---- + return (int8_t)!isBogus(); // 0 if both are bogus, 1 otherwise + } else { + srcText.pinIndices(srcStart, srcLength); +! return doCompare(start, _length, srcText.fArray, srcStart, srcLength); + } + } + +*************** +*** 3374,3380 **** + + inline int8_t + UnicodeString::doCompareCodePointOrder(int32_t start, +! int32_t length, + const UnicodeString& srcText, + int32_t srcStart, + int32_t srcLength) const +--- 3374,3380 ---- + + inline int8_t + UnicodeString::doCompareCodePointOrder(int32_t start, +! int32_t _length, + const UnicodeString& srcText, + int32_t srcStart, + int32_t srcLength) const +*************** +*** 3383,3389 **** + return (int8_t)!isBogus(); // 0 if both are bogus, 1 otherwise + } else { + srcText.pinIndices(srcStart, srcLength); +! return doCompareCodePointOrder(start, length, srcText.fArray, srcStart, srcLength); + } + } + +--- 3383,3389 ---- + return (int8_t)!isBogus(); // 0 if both are bogus, 1 otherwise + } else { + srcText.pinIndices(srcStart, srcLength); +! return doCompareCodePointOrder(start, _length, srcText.fArray, srcStart, srcLength); + } + } + +*************** +*** 3435,3441 **** + + inline int8_t + UnicodeString::doCaseCompare(int32_t start, +! int32_t length, + const UnicodeString &srcText, + int32_t srcStart, + int32_t srcLength, +--- 3435,3441 ---- + + inline int8_t + UnicodeString::doCaseCompare(int32_t start, +! int32_t _length, + const UnicodeString &srcText, + int32_t srcStart, + int32_t srcLength, +*************** +*** 3445,3451 **** + return (int8_t)!isBogus(); // 0 if both are bogus, 1 otherwise + } else { + srcText.pinIndices(srcStart, srcLength); +! return doCaseCompare(start, length, srcText.fArray, srcStart, srcLength, options); + } + } + +--- 3445,3451 ---- + return (int8_t)!isBogus(); // 0 if both are bogus, 1 otherwise + } else { + srcText.pinIndices(srcStart, srcLength); +! return doCaseCompare(start, _length, srcText.fArray, srcStart, srcLength, options); + } + } + |