diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-26 09:09:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-28 09:06:48 +0200 |
commit | a6c7c2fe1bc48ffddca486de0f97164421ca6404 (patch) | |
tree | fc6f095e839f6a2576293ab1f6b857c6ab92bb09 /cui | |
parent | d938a896b8fa0b5b7591a7de39c689e004de8893 (diff) |
loplugin:unusedfields
Change-Id: I355fad84ed8765e8eb3fadb7c239b3b902ec1747
Reviewed-on: https://gerrit.libreoffice.org/61059
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/grfpage.hxx | 1 | ||||
-rw-r--r-- | cui/source/tabpages/grfpage.cxx | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/cui/source/inc/grfpage.hxx b/cui/source/inc/grfpage.hxx index e1b15e2c1520..9843e32387e4 100644 --- a/cui/source/inc/grfpage.hxx +++ b/cui/source/inc/grfpage.hxx @@ -59,7 +59,6 @@ class SvxGrfCropPage : public SfxTabPage Size aPageSize; long nOldWidth; long nOldHeight; - bool bReset; bool bSetOrigSize; SvxCropExample m_aExampleWN; diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx index a94e1b4569b7..49cd1da7b7c8 100644 --- a/cui/source/tabpages/grfpage.cxx +++ b/cui/source/tabpages/grfpage.cxx @@ -53,7 +53,6 @@ SvxGrfCropPage::SvxGrfCropPage(TabPageParent pParent, const SfxItemSet &rSet) : SfxTabPage(pParent, "cui/ui/croppage.ui", "CropPage", &rSet) , nOldWidth(0) , nOldHeight(0) - , bReset(false) , bSetOrigSize(false) , m_xCropFrame(m_xBuilder->weld_widget("cropframe")) , m_xZoomConstRB(m_xBuilder->weld_radio_button("keepscale")) @@ -217,9 +216,7 @@ void SvxGrfCropPage::Reset( const SfxItemSet *rSet ) } GraphicHasChanged( bFound ); - bReset = true; ActivatePage( *rSet ); - bReset = false; } bool SvxGrfCropPage::FillItemSet(SfxItemSet *rSet) |