diff options
author | Karl Hong <khong@openoffice.org> | 2002-04-15 23:09:02 +0000 |
---|---|---|
committer | Karl Hong <khong@openoffice.org> | 2002-04-15 23:09:02 +0000 |
commit | bcaa2e6597a51c53e335f06b16337f0b94e935f1 (patch) | |
tree | 55b9d675c17c7f3218e842a792dea67b5aecf85b | |
parent | a99b8e0f67e8c51a45cdde02b6b04b7faceac3f1 (diff) |
#98663#compareString() is called twice
-rw-r--r-- | i18npool/source/collator/collatorImpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/collator/collatorImpl.cxx b/i18npool/source/collator/collatorImpl.cxx index df58331a8e6a..ba552f1c5284 100644 --- a/i18npool/source/collator/collatorImpl.cxx +++ b/i18npool/source/collator/collatorImpl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: collatorImpl.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: er $ $Date: 2002-03-26 17:02:11 $ + * last change: $Author: khong $ $Date: 2002-04-16 00:09:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -110,9 +110,9 @@ sal_Int32 SAL_CALL CollatorImpl::compareString( const OUString& in_str1, const OUString& in_str2) throw(RuntimeException) { if (cachedItem) - cachedItem->xC->compareString(in_str1, in_str2); + return cachedItem->xC->compareString(in_str1, in_str2); - return compareSubstring(in_str1, 0, in_str1.getLength(), in_str2, 0, in_str2.getLength()); + return CollatorImpl::compareSubstring(in_str1, 0, in_str1.getLength(), in_str2, 0, in_str2.getLength()); } |