[Libreoffice-commits] .: 2 commits - rsc/source svl/source

Joseph Powers jpowers at kemper.freedesktop.org
Fri Apr 29 08:59:16 PDT 2011


 rsc/source/tools/rscdef.cxx |    7 +++----
 svl/source/svdde/ddeimp.hxx |    1 -
 2 files changed, 3 insertions(+), 5 deletions(-)

New commits:
commit 0c0d039299d87df35abd288374f62da095eb77e9
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Fri Apr 29 08:57:18 2011 -0700

    Remove unneeded #include <tools/list.hxx>.

diff --git a/svl/source/svdde/ddeimp.hxx b/svl/source/svdde/ddeimp.hxx
index af7e196..fea2322 100644
--- a/svl/source/svdde/ddeimp.hxx
+++ b/svl/source/svdde/ddeimp.hxx
@@ -49,7 +49,6 @@
 #endif
 
 #include <tools/string.hxx>
-#include <tools/list.hxx>
 #include <tools/shl.hxx>
 #include <vector>
 
commit 3079e4110375081f234ca27ec3a1d2603740f6cf
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Fri Apr 29 08:56:42 2011 -0700

    Convert LIST_APPEND to ULONG_MAX.
    
    Neede to remove all references to tools/list.hxx

diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx
index d35c63c..6f2e642 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;
 }


More information about the Libreoffice-commits mailing list