diff options
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r-- | sd/source/ui/inc/morphdlg.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/optsitem.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/inc/morphdlg.hxx b/sd/source/ui/inc/morphdlg.hxx index 37e093be34e1..d717a82b39d2 100644 --- a/sd/source/ui/inc/morphdlg.hxx +++ b/sd/source/ui/inc/morphdlg.hxx @@ -42,7 +42,7 @@ public: virtual void dispose() override; void SaveSettings() const; - sal_uInt16 GetFadeSteps() const { return (sal_uInt16) m_pMtfSteps->GetValue(); } + sal_uInt16 GetFadeSteps() const { return static_cast<sal_uInt16>(m_pMtfSteps->GetValue()); } bool IsAttributeFade() const { return m_pCbxAttributes->IsChecked(); } bool IsOrientationFade() const { return m_pCbxOrientation->IsChecked(); } diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx index 398369b0c1c9..8d925a316bf5 100644 --- a/sd/source/ui/inc/optsitem.hxx +++ b/sd/source/ui/inc/optsitem.hxx @@ -131,7 +131,7 @@ public: bool IsDragStripes() const { Init(); return bDragStripes; } bool IsHandlesBezier() const { Init(); return bHandlesBezier; } bool IsHelplines() const { Init(); return bHelplines; } - sal_uInt16 GetMetric() const { Init(); return( ( 0xffff == nMetric ) ? (sal_uInt16)SfxModule::GetCurrentFieldUnit() : nMetric ); } + sal_uInt16 GetMetric() const { Init(); return( ( 0xffff == nMetric ) ? static_cast<sal_uInt16>(SfxModule::GetCurrentFieldUnit()) : nMetric ); } sal_uInt16 GetDefTab() const { Init(); return nDefTab; } void SetRulerVisible( bool bOn ) { if( bRuler != bOn ) { OptionsChanged(); bRuler = bOn; } } |