[PATCH] Changed HTML_ColorEntry.nColor to sal_uInt32

Christina Rossmanith ChrRossmanith at web.de
Tue May 17 00:26:35 PDT 2011


---
 svtools/source/svhtml/htmlkywd.cxx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/svtools/source/svhtml/htmlkywd.cxx b/svtools/source/svhtml/htmlkywd.cxx
index de810c7..c45d7e0 100644
--- a/svtools/source/svhtml/htmlkywd.cxx
+++ b/svtools/source/svhtml/htmlkywd.cxx
@@ -855,7 +855,7 @@ struct HTML_ColorEntry
         const sal_Char* sName;
         const String *pUName;
     };
-    sal_uLong nColor;
+    sal_uInt32 nColor;
 };
 
 // Flag: color table has already been sorted
@@ -1046,7 +1046,7 @@ static int
 
 }
 
-sal_uLong GetHTMLColor( const String& rName )
+sal_uInt32 GetHTMLColor( const String& rName )
 {
     if( !bSortColorKeyWords )
     {
@@ -1057,7 +1057,7 @@ sal_uLong GetHTMLColor( const String& rName )
         bSortColorKeyWords = sal_True;
     }
 
-    sal_uLong nRet = ULONG_MAX;
+    sal_uInt32 nRet = HTML_NO_COLOR;
     void* pFound;
     HTML_ColorEntry aSrch;
     aSrch.pUName = &rName;
-- 
1.7.0.4


--------------050702050607060907020801--


More information about the LibreOffice mailing list