diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-18 12:38:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-19 09:17:06 +0200 |
commit | fd00bd0f69676659bb43bcc85d8ad5fd21e5de4c (patch) | |
tree | f9d62fef7f508f430efd72c85b0d0cf6a67da3be /sd | |
parent | 8a01fc2f505acc6ed9af5ba18049131225baad30 (diff) |
loplugin:unusedfields
make it a little smarter in dealing with fields that are smart pointers
Change-Id: I44072105170882dc29fb19558f1065cffc7e5f11
Reviewed-on: https://gerrit.libreoffice.org/37751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/animobjs.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/Ruler.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/inc/animobjs.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/sdruler.cxx | 2 |
4 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx index 7c627c359ac2..6588b105b646 100644 --- a/sd/source/ui/dlg/animobjs.cxx +++ b/sd/source/ui/dlg/animobjs.cxx @@ -130,7 +130,6 @@ const size_t AnimationWindow::EMPTY_FRAMELIST = std::numeric_limits<size_t>::max AnimationWindow::AnimationWindow(SfxBindings* pInBindings, SfxChildWindow *pCW, vcl::Window* pParent) : SfxDockingWindow(pInBindings, pCW, pParent, "DockingAnimation", "modules/simpress/ui/dockinganimation.ui") - , pWin(pParent) , m_nCurrentFrame(EMPTY_FRAMELIST) , bMovie(false) , bAllObjects(false) @@ -240,7 +239,6 @@ void AnimationWindow::dispose() m_pFtAdjustment.clear(); m_pLbAdjustment.clear(); m_pBtnCreateGroup.clear(); - pWin.clear(); SfxDockingWindow::dispose(); } diff --git a/sd/source/ui/inc/Ruler.hxx b/sd/source/ui/inc/Ruler.hxx index 65bbc660b455..0624a750e62a 100644 --- a/sd/source/ui/inc/Ruler.hxx +++ b/sd/source/ui/inc/Ruler.hxx @@ -49,7 +49,6 @@ public: using ::Ruler::SetNullOffset; protected: - VclPtr< ::sd::Window> pSdWin; DrawViewShell* pDrViewShell; RulerCtrlItem* pCtrlItem; bool bHorz; diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx index 6a5876067371..8f576871cb5d 100644 --- a/sd/source/ui/inc/animobjs.hxx +++ b/sd/source/ui/inc/animobjs.hxx @@ -117,7 +117,6 @@ private: VclPtr<ListBox> m_pLbAdjustment; VclPtr<PushButton> m_pBtnCreateGroup; - VclPtr<vcl::Window> pWin; ::std::vector< ::std::pair<BitmapEx*, ::tools::Time*> > m_FrameList; static const size_t EMPTY_FRAMELIST; size_t m_nCurrentFrame; diff --git a/sd/source/ui/view/sdruler.cxx b/sd/source/ui/view/sdruler.cxx index 39d2c5b385d7..643a50a321c3 100644 --- a/sd/source/ui/view/sdruler.cxx +++ b/sd/source/ui/view/sdruler.cxx @@ -70,7 +70,6 @@ void RulerCtrlItem::StateChanged( sal_uInt16 nSId, SfxItemState, const SfxPoolIt Ruler::Ruler( DrawViewShell& rViewSh, vcl::Window* pParent, ::sd::Window* pWin, SvxRulerSupportFlags nRulerFlags, SfxBindings& rBindings, WinBits nWinStyle) : SvxRuler(pParent, pWin, nRulerFlags, rBindings, nWinStyle) - , pSdWin(pWin) , pDrViewShell(&rViewSh) { rBindings.EnterRegistrations(); @@ -100,7 +99,6 @@ void Ruler::dispose() rBindings.EnterRegistrations(); DELETEZ( pCtrlItem ); rBindings.LeaveRegistrations(); - pSdWin.clear(); SvxRuler::dispose(); } |