diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 17:35:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-08 08:13:44 +0100 |
commit | 44d5188b2fd8afc82aa8fda1ad4b374734129aea (patch) | |
tree | 07fae7bdc2d87332370d064f9fc81b693a477215 /svx | |
parent | 5eba05a0582cbb836c3715089e5d3bfe1ee19ded (diff) |
loplugin:unusedfields
Change-Id: Id332557cbe7fb42d3d794612f26aa3ac161548d9
Reviewed-on: https://gerrit.libreoffice.org/50902
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 3 | ||||
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.hxx | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 280f7ede27c9..5ba2c5100b90 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -56,7 +56,6 @@ PosSizePropertyPanel::PosSizePropertyPanel( mpView(nullptr), mlOldWidth(1), mlOldHeight(1), - maAnchorPos(), mlRotX(0), mlRotY(0), maUIScale(), @@ -370,7 +369,6 @@ IMPL_LINK_NOARG( PosSizePropertyPanel, ChangePosXHdl, Edit&, void ) long lX = GetCoreValue( *mpMtrPosX, mePoolUnit ); Fraction aUIScale = mpView->GetModel()->GetUIScale(); - lX += maAnchorPos.X(); lX = long( lX * aUIScale ); SfxInt32Item aPosXItem( SID_ATTR_TRANSFORM_POS_X,static_cast<sal_uInt32>(lX)); @@ -388,7 +386,6 @@ IMPL_LINK_NOARG( PosSizePropertyPanel, ChangePosYHdl, Edit&, void ) long lY = GetCoreValue( *mpMtrPosY, mePoolUnit ); Fraction aUIScale = mpView->GetModel()->GetUIScale(); - lY += maAnchorPos.Y(); lY = long( lY * aUIScale ); SfxInt32Item aPosYItem( SID_ATTR_TRANSFORM_POS_Y,static_cast<sal_uInt32>(lY)); diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx index 9ae618bc893a..97059186a510 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx @@ -113,7 +113,6 @@ private: const SdrView* mpView; sal_uInt32 mlOldWidth; sal_uInt32 mlOldHeight; - Point maAnchorPos; //anchor position long mlRotX; long mlRotY; Fraction maUIScale; |