From 02cc69a0b4685afa9f96cf2abba69353e7cebf56 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 5 May 2006 07:38:45 +0000 Subject: INTEGRATION: CWS ab25 (1.24.26); FILE MERGED 2006/04/05 15:52:36 ab 1.24.26.1: #i90691# DatePart: Fixed search in interval table --- basic/source/runtime/methods1.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basic/source/runtime/methods1.cxx') diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 83798c5ad5..aa25b20dfc 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -4,9 +4,9 @@ * * $RCSfile: methods1.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.26 $ * - * last change: $Author: vg $ $Date: 2006-04-07 14:04:13 $ + * last change: $Author: rt $ $Date: 2006-05-05 08:38:45 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1701,7 +1701,7 @@ IntervalInfo* getIntervalInfo( const String& rStringCode ) { IntervalInfo* pInfo = NULL; INT16 i = 0; - while( (pInfo = pIntervalTable + i) != NULL ) + while( (pInfo = pIntervalTable + i)->mpStringCode != NULL ) { if( rStringCode.EqualsIgnoreCaseAscii( pInfo->mpStringCode ) ) break; -- cgit v1.2.3