diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 14:26:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 11:13:52 +0200 |
commit | 95c348afa8f4f17c058c449ded75025175af0e4a (patch) | |
tree | 88f21ab151fbbf5c79e9adf4bae8dfb920c9e85a /sw | |
parent | 2149d4a88e9dc88c30e7475f8ea317e5c7b78529 (diff) |
loplugin:unusedfields in svx part2
Change-Id: Ie9fd55b71a152f428a397d9917918f0e9de39aaf
Reviewed-on: https://gerrit.libreoffice.org/39014
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/draw/dview.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/frmdlg/colex.cxx | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx index ce0b4b804e89..a35e124c57c0 100644 --- a/sw/source/core/draw/dview.cxx +++ b/sw/source/core/draw/dview.cxx @@ -103,7 +103,6 @@ SwDrawView::SwDrawView( SwViewShellImp &rI, SdrModel *pMd, OutputDevice *pOutDev SetHlplVisible( false ); SetGlueVisible( false ); SetFrameDragSingles(); - SetVirtualObjectBundling( true ); SetSwapAsynchron(); EnableExtendedKeyInputDispatcher( false ); diff --git a/sw/source/uibase/frmdlg/colex.cxx b/sw/source/uibase/frmdlg/colex.cxx index 3b9c1212159e..ca063234fea1 100644 --- a/sw/source/uibase/frmdlg/colex.cxx +++ b/sw/source/uibase/frmdlg/colex.cxx @@ -136,13 +136,6 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet ) std::make_shared<drawinglayer::attribute::SdrAllFillAttributesHelper>( aTempSet)); } - - if ( rHeaderSet.GetItemState( RES_BOX ) == SfxItemState::SET ) - { - const SvxBoxItem& rItem = - static_cast<const SvxBoxItem&>(rHeaderSet.Get( RES_BOX )); - SetHdBorder( rItem ); - } } else SetHeader( false ); @@ -182,13 +175,6 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet ) std::make_shared<drawinglayer::attribute::SdrAllFillAttributesHelper>( aTempSet)); } - - if( rFooterSet.GetItemState( RES_BOX ) == SfxItemState::SET ) - { - const SvxBoxItem& rItem = - static_cast<const SvxBoxItem&>(rFooterSet.Get( RES_BOX )); - SetFtBorder( rItem ); - } } else SetFooter( false ); |