diff options
Diffstat (limited to 'cui/source/tabpages/tpshadow.cxx')
-rw-r--r-- | cui/source/tabpages/tpshadow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx index ded82ed5134b..6296400844e7 100644 --- a/cui/source/tabpages/tpshadow.cxx +++ b/cui/source/tabpages/tpshadow.cxx @@ -312,7 +312,7 @@ bool SvxShadowTabPage::FillItemSet( SfxItemSet* rAttrs ) } // transparency - sal_uInt16 nVal = (sal_uInt16)m_pMtrTransparent->GetValue(); + sal_uInt16 nVal = static_cast<sal_uInt16>(m_pMtrTransparent->GetValue()); if( m_pMtrTransparent->IsValueChangedFromSaved() ) { SdrPercentItem aItem( makeSdrShadowTransparenceItem(nVal) ); @@ -464,7 +464,7 @@ IMPL_LINK_NOARG(SvxShadowTabPage, ModifyShadowHdl_Impl, Edit&, void) m_rXFSet.Put( XFillStyleItem( drawing::FillStyle_NONE ) ); m_rXFSet.Put( XFillColorItem( OUString(), m_pLbShadowColor->GetSelectEntryColor() ) ); - sal_uInt16 nVal = (sal_uInt16)m_pMtrTransparent->GetValue(); + sal_uInt16 nVal = static_cast<sal_uInt16>(m_pMtrTransparent->GetValue()); m_rXFSet.Put( XFillTransparenceItem( nVal ) ); // shadow removal |