summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 12:09:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 08:42:41 +0200
commit742c0838f29bd09505e2cb9ca35debf401c18c23 (patch)
treea224af9ead35435e613ac03c03ee0f74173c01e5 /sw
parent528632660b72b105345945c13c5b68060d94a91b (diff)
loplugin:unusedfields in svx part1
Change-Id: I6621e0dda5a5dc3e68c7b1613975c075e2879912 Reviewed-on: https://gerrit.libreoffice.org/39006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/draw/dflyobj.cxx2
-rw-r--r--sw/source/core/draw/dview.cxx1
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx1
-rw-r--r--sw/source/ui/frmdlg/wrap.cxx1
4 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index f89cdeea30c9..885663d3c0c7 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -471,7 +471,7 @@ void SwVirtFlyDrawObj::wrap_DoPaintObject(
void SwVirtFlyDrawObj::TakeObjInfo( SdrObjTransformInfoRec& rInfo ) const
{
- rInfo.bSelectAllowed = rInfo.bMoveAllowed =
+ rInfo.bMoveAllowed =
rInfo.bResizeFreeAllowed = rInfo.bResizePropAllowed = true;
rInfo.bRotateFreeAllowed = rInfo.bRotate90Allowed =
diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx
index d1ba6086d476..ce0b4b804e89 100644
--- a/sw/source/core/draw/dview.cxx
+++ b/sw/source/core/draw/dview.cxx
@@ -108,7 +108,6 @@ SwDrawView::SwDrawView( SwViewShellImp &rI, SdrModel *pMd, OutputDevice *pOutDev
EnableExtendedKeyInputDispatcher( false );
EnableExtendedMouseEventDispatcher( false );
- EnableExtendedCommandEventDispatcher( false );
SetHitTolerancePixel( GetMarkHdlSizePixel()/2 );
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 3a85effb9647..de8570f82c1e 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -1817,7 +1817,6 @@ void SwFramePage::RangeModifyHdl()
aVal.nAnchorType = GetAnchor();
aVal.bAutoHeight = m_pAutoHeightCB->IsChecked();
- aVal.bAutoWidth = m_pAutoWidthCB->IsChecked();
aVal.bMirror = m_pMirrorPagesCB->IsChecked();
aVal.bFollowTextFlow = m_pFollowTextFlowCB->IsChecked();
diff --git a/sw/source/ui/frmdlg/wrap.cxx b/sw/source/ui/frmdlg/wrap.cxx
index 02c3a58682e5..74c833b39940 100644
--- a/sw/source/ui/frmdlg/wrap.cxx
+++ b/sw/source/ui/frmdlg/wrap.cxx
@@ -424,7 +424,6 @@ void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet)
aVal.nAnchorType = m_nAnchorId;
aVal.bAutoHeight = rFrameSize.GetHeightSizeType() == ATT_MIN_SIZE;
- aVal.bAutoWidth = rFrameSize.GetWidthSizeType() == ATT_MIN_SIZE;
aVal.bMirror = rHori.IsPosToggle();
// #i18732#
aVal.bFollowTextFlow =