summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscyacc.y
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/parser/rscyacc.y')
-rw-r--r--rsc/source/parser/rscyacc.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/rsc/source/parser/rscyacc.y b/rsc/source/parser/rscyacc.y
index 329884e498b6..24240d184236 100644
--- a/rsc/source/parser/rscyacc.y
+++ b/rsc/source/parser/rscyacc.y
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -148,7 +148,7 @@ resource_definition
if( $4.IsNumber() ){
if( !pTC->aFileTab.NewDef( pFI->GetFileIndex(),
ByteString( $3 ),
- $4.GetLong(), LIST_APPEND ) )
+ $4.GetLong(), ULONG_MAX ) )
bError = sal_True;
}
else if( $4.IsDefinition() ){
@@ -161,13 +161,13 @@ resource_definition
pExpr = new RscExpression( aExpType, '+', $4 );
if( !pTC->aFileTab.NewDef( pFI->GetFileIndex(),
- ByteString( $3 ), pExpr, LIST_APPEND ) )
+ ByteString( $3 ), pExpr, ULONG_MAX ) )
bError = sal_True;
}
else if( $4.IsExpression() ){
if( !pTC->aFileTab.NewDef( pFI->GetFileIndex(),
ByteString( $3 ), $4.aExp.pExp,
- LIST_APPEND ) )
+ ULONG_MAX ) )
bError = sal_True;
}