From 463563853a81499de2259372755b00aa5ec246a7 Mon Sep 17 00:00:00 2001 From: Christina Rossmanith Date: Sun, 5 Jun 2011 21:29:06 +0200 Subject: Changed return type of GetHTMLColor --- svtools/source/svhtml/parhtml.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools/source/svhtml') diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index 67aa8abc9b40..8cf6f406e2bd 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; -- cgit