diff options
Diffstat (limited to 'cui/source/options/optchart.cxx')
-rw-r--r-- | cui/source/options/optchart.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 1c8958452dd9..dc74bcaa36cf 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -142,7 +142,7 @@ SvxDefaultColorOptPage::SvxDefaultColorOptPage(vcl::Window* pParent, const SfxIt const SfxPoolItem* pItem = nullptr; if ( rInAttrs.GetItemState( SID_SCH_EDITOPTIONS, false, &pItem ) == SfxItemState::SET ) { - pColorConfig = (static_cast< SvxChartColorTableItem* >(pItem->Clone()) ); + pColorConfig = static_cast< SvxChartColorTableItem* >(pItem->Clone()); } else { @@ -199,7 +199,7 @@ VclPtr<SfxTabPage> SvxDefaultColorOptPage::Create( vcl::Window* pParent, const S bool SvxDefaultColorOptPage::FillItemSet( SfxItemSet* rOutAttrs ) { if( pColorConfig ) - rOutAttrs->Put( *(static_cast< SfxPoolItem* >(pColorConfig))); + rOutAttrs->Put( *static_cast< SfxPoolItem* >(pColorConfig) ); return true; } |