summaryrefslogtreecommitdiffstats
path: root/svtools/source/svhtml
diff options
context:
space:
mode:
authorChristina Rossmanith <ChrRossmanith@web.de>2011-06-05 21:29:06 +0200
committerChristina Rossmanith <ChrRossmanith@web.de>2011-06-05 21:29:06 +0200
commit463563853a81499de2259372755b00aa5ec246a7 (patch)
tree681f7abef28c91eb321c813294cf0d8e0b3a8459 /svtools/source/svhtml
parentChanged return type of GetHTMLColor (diff)
downloadcore-463563853a81499de2259372755b00aa5ec246a7.tar.gz
core-463563853a81499de2259372755b00aa5ec246a7.zip
Changed return type of GetHTMLColor
Diffstat (limited to 'svtools/source/svhtml')
-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;