summaryrefslogtreecommitdiff
path: root/xmloff/source/style/TransGradientStyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/TransGradientStyle.cxx')
-rw-r--r--xmloff/source/style/TransGradientStyle.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/TransGradientStyle.cxx b/xmloff/source/style/TransGradientStyle.cxx
index 58c99ef7abbd..073315761076 100644
--- a/xmloff/source/style/TransGradientStyle.cxx
+++ b/xmloff/source/style/TransGradientStyle.cxx
@@ -169,7 +169,7 @@ sal_Bool XMLTransGradientStyleImport::importXML(
sal_Int32 aStartTransparency;
SvXMLUnitConverter::convertPercent( aStartTransparency, rStrValue );
- UINT8 n = sal::static_int_cast< UINT8 >(
+ sal_uInt8 n = sal::static_int_cast< sal_uInt8 >(
( (100 - aStartTransparency) * 255 ) / 100 );
Color aColor( n, n, n );
@@ -181,7 +181,7 @@ sal_Bool XMLTransGradientStyleImport::importXML(
sal_Int32 aEndTransparency;
SvXMLUnitConverter::convertPercent( aEndTransparency, rStrValue );
- UINT8 n = sal::static_int_cast< UINT8 >(
+ sal_uInt8 n = sal::static_int_cast< sal_uInt8 >(
( (100 - aEndTransparency) * 255 ) / 100 );
Color aColor( n, n, n );