summaryrefslogtreecommitdiff
path: root/sd/source/filter/cgm/sdcgmfilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/cgm/sdcgmfilter.cxx')
-rw-r--r--sd/source/filter/cgm/sdcgmfilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/cgm/sdcgmfilter.cxx b/sd/source/filter/cgm/sdcgmfilter.cxx
index f5b394f31f23..7bd04a246b10 100644
--- a/sd/source/filter/cgm/sdcgmfilter.cxx
+++ b/sd/source/filter/cgm/sdcgmfilter.cxx
@@ -108,7 +108,7 @@ bool SdCGMFilter::Import()
if(pSdPage)
{
// set PageFill to given color
- const Color aColor((sal_uInt8)(nRetValue >> 16), (sal_uInt8)(nRetValue >> 8), (sal_uInt8)(nRetValue >> 16));
+ const Color aColor(static_cast<sal_uInt8>(nRetValue >> 16), static_cast<sal_uInt8>(nRetValue >> 8), static_cast<sal_uInt8>(nRetValue >> 16));
pSdPage->getSdrPageProperties().PutItem(XFillColorItem(OUString(), aColor));
pSdPage->getSdrPageProperties().PutItem(XFillStyleItem(drawing::FillStyle_SOLID));
}