diff options
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r-- | cui/source/tabpages/borderconn.cxx | 14 | ||||
-rw-r--r-- | cui/source/tabpages/borderconn.hxx | 9 | ||||
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 9 |
3 files changed, 12 insertions, 20 deletions
diff --git a/cui/source/tabpages/borderconn.cxx b/cui/source/tabpages/borderconn.cxx index aecef5b2be2d..ce94e50ca3ff 100644 --- a/cui/source/tabpages/borderconn.cxx +++ b/cui/source/tabpages/borderconn.cxx @@ -265,24 +265,22 @@ ShadowConnection::ShadowConnection( const SfxItemSet& rItemSet, sfx::ItemConnectionBase* CreateFrameLineConnection( sal_uInt16 nSlot, - FrameSelector& rFrameSel, FrameBorderType eBorder, sfx::ItemConnFlags nFlags ) + FrameSelector& rFrameSel, FrameBorderType eBorder ) { - return new sfx::ItemControlConnection< LineItemWrapper, FrameSelectorWrapper >( nSlot, new FrameSelectorWrapper( rFrameSel, eBorder ), nFlags ); + return new sfx::ItemControlConnection< LineItemWrapper, FrameSelectorWrapper >( nSlot, new FrameSelectorWrapper( rFrameSel, eBorder ), sfx::ITEMCONN_DEFAULT ); } sfx::ItemConnectionBase* CreateMarginConnection( const SfxItemSet& rItemSet, MetricField& rMfLeft, MetricField& rMfRight, - MetricField& rMfTop, MetricField& rMfBottom, - sfx::ItemConnFlags nFlags ) + MetricField& rMfTop, MetricField& rMfBottom ) { - return new MarginConnection( rItemSet, rMfLeft, rMfRight, rMfTop, rMfBottom, nFlags ); + return new MarginConnection( rItemSet, rMfLeft, rMfRight, rMfTop, rMfBottom, sfx::ITEMCONN_DEFAULT ); } sfx::ItemConnectionBase* CreateShadowConnection( const SfxItemSet& rItemSet, - ValueSet& rVsPos, MetricField& rMfSize, ColorListBox& rLbColor, - sfx::ItemConnFlags nFlags ) + ValueSet& rVsPos, MetricField& rMfSize, ColorListBox& rLbColor ) { - return new ShadowConnection( rItemSet, rVsPos, rMfSize, rLbColor, nFlags ); + return new ShadowConnection( rItemSet, rVsPos, rMfSize, rLbColor, sfx::ITEMCONN_DEFAULT ); } diff --git a/cui/source/tabpages/borderconn.hxx b/cui/source/tabpages/borderconn.hxx index 466c631709f9..17343d80025f 100644 --- a/cui/source/tabpages/borderconn.hxx +++ b/cui/source/tabpages/borderconn.hxx @@ -36,21 +36,18 @@ class FrameSelector; /** Creates an item connection object that connects an SvxLineItem with an svx::FrameSelector control. */ sfx::ItemConnectionBase* CreateFrameLineConnection( sal_uInt16 nSlot, - FrameSelector& rFrameSel, FrameBorderType eBorder, - sfx::ItemConnFlags nFlags = sfx::ITEMCONN_DEFAULT ); + FrameSelector& rFrameSel, FrameBorderType eBorder ); /** Creates an item connection object that connects an SvxMarginItem with the controls of the SvxBorderTabPage. */ sfx::ItemConnectionBase* CreateMarginConnection( const SfxItemSet& rItemSet, MetricField& rMfLeft, MetricField& rMfRight, - MetricField& rMfTop, MetricField& rMfBottom, - sfx::ItemConnFlags nFlags = sfx::ITEMCONN_DEFAULT ); + MetricField& rMfTop, MetricField& rMfBottom ); /** Creates an item connection object that connects an SvxShadowItem with the controls of the SvxBorderTabPage. */ sfx::ItemConnectionBase* CreateShadowConnection( const SfxItemSet& rItemSet, - ValueSet& rVsPos, MetricField& rMfSize, ColorListBox& rLbColor, - sfx::ItemConnFlags nFlags = sfx::ITEMCONN_DEFAULT ); + ValueSet& rVsPos, MetricField& rMfSize, ColorListBox& rLbColor ); } diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 7361c98e6cd7..45e51f632b0d 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -3664,14 +3664,11 @@ IMPL_LINK_NOARG_TYPED(SvxNumPositionTabPage, StandardHdl_Impl, Button*, void) SetModified(); } -void SvxNumPositionTabPage::SetModified(bool bRepaint) +void SvxNumPositionTabPage::SetModified() { bModified = true; - if(bRepaint) - { - m_pPreviewWIN->SetLevel(nActNumLvl); - m_pPreviewWIN->Invalidate(); - } + m_pPreviewWIN->SetLevel(nActNumLvl); + m_pPreviewWIN->Invalidate(); } void SvxNumOptionsTabPage::SetModified(bool bRepaint) |