diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-04-29 08:56:42 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-04-29 08:56:42 -0700 |
commit | b2d7548bd6643f5e2bf628ab15fe571d6c1437b3 (patch) | |
tree | 3a02dcac3b1b11f62668143e8d63f7081c74b595 /rsc | |
parent | 1d2bcb5c3a3338e5a537b44d99ef6e3055f6cccf (diff) |
Convert LIST_APPEND to ULONG_MAX.
Neede to remove all references to tools/list.hxx
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/tools/rscdef.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx index 99268b83d3d8..ad4bab1412a2 100644 --- a/rsc/source/tools/rscdef.cxx +++ b/rsc/source/tools/rscdef.cxx @@ -32,7 +32,6 @@ // Programmuebergreifende Includes. #include <rscdef.hxx> -#include <tools/list.hxx> /****************** C o d e **********************************************/ /****************** R s c I d ********************************************/ @@ -876,7 +875,7 @@ sal_Bool RscFileTab::TestDef( sal_uLong lFileKey, size_t lPos, if( lFileKey == pDefDec->GetFileKey() ) { RscFile * pFile = GetFile( pDefDec->GetFileKey() ); if( pFile && (lPos <= pFile->aDefLst.GetPos( (RscDefine *)pDefDec )) - && (lPos != LIST_APPEND) ) + && (lPos != ULONG_MAX ) ) return sal_False; } else if( !Depend( lFileKey, pDefDec->GetFileKey() ) ) @@ -1138,7 +1137,7 @@ sal_uLong RscFileTab :: NewCodeFile( const ByteString & rName ) pFName->aFileName = rName; pFName->aPathName = rName; lKey = Insert( pFName ); - pFName->InsertDependFile( lKey, LIST_APPEND ); + pFName->InsertDependFile( lKey, ULONG_MAX ); } return lKey; } @@ -1162,7 +1161,7 @@ sal_uLong RscFileTab :: NewIncFile( const ByteString & rName, pFName->aPathName = rPath; pFName->SetIncFlag(); lKey = Insert( pFName ); - pFName->InsertDependFile( lKey, LIST_APPEND ); + pFName->InsertDependFile( lKey, ULONG_MAX ); } return lKey; } |