summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml/parhtml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/svhtml/parhtml.cxx')
-rw-r--r--svtools/source/svhtml/parhtml.cxx4
1 files changed, 2 insertions, 2 deletions
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;