summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-05-05 07:38:45 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-05-05 07:38:45 +0000
commit02cc69a0b4685afa9f96cf2abba69353e7cebf56 (patch)
treef1c78fe0944060687fb4070a982ee8fbcc1c2bae
parente4a22a6e43459e38d58b100c4dc6233590253a1d (diff)
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
-rw-r--r--basic/source/runtime/methods1.cxx6
1 files changed, 3 insertions, 3 deletions
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;