[Libreoffice-commits] .: svtools/source
Christina Rossmanith
crossmanith at kemper.freedesktop.org
Sun Jun 5 12:32:35 PDT 2011
svtools/source/svhtml/parhtml.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2b7bb648438f4d609370945afd527aaddfd005b7
Author: Christina Rossmanith <ChrRossmanith at web.de>
Date: Sun Jun 5 21:29:06 2011 +0200
Changed return type of GetHTMLColor
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 66ef97c..d8a80c2 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -256,11 +256,11 @@ void HTMLOption::GetColor( Color& rColor ) const
String aTmp( aValue );
aTmp.ToUpperAscii();
- sal_uLong nColor = ULONG_MAX;
+ sal_uInt32 nColor = SAL_MAX_UINT32;
if( '#'!=aTmp.GetChar( 0 ) )
nColor = GetHTMLColor( aTmp );
- if( ULONG_MAX == nColor )
+ if( SAL_MAX_UINT32 == nColor )
{
nColor = 0;
xub_StrLen nPos = 0;
More information about the Libreoffice-commits
mailing list