diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-08 16:11:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-09 12:26:56 +0100 |
commit | 7c19dff94e7ce99ce2fc702ea69032c21212a80f (patch) | |
tree | 8ffebe85622e6e01103d0cc60d7fc2300f540a7c /sc/source/ui/drawfunc | |
parent | 65d2d2647ead42e5bbb7800f14c047f383fe450b (diff) |
loplugin:singlevalfields in sc
Change-Id: I7b87680b9d76bb390a0657f5f1783c3a7c9edbc4
Reviewed-on: https://gerrit.libreoffice.org/63127
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/drawfunc')
-rw-r--r-- | sc/source/ui/drawfunc/fupoor.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sc/source/ui/drawfunc/fupoor.cxx b/sc/source/ui/drawfunc/fupoor.cxx index 37c4d5f48678..75b450240f1c 100644 --- a/sc/source/ui/drawfunc/fupoor.cxx +++ b/sc/source/ui/drawfunc/fupoor.cxx @@ -37,7 +37,6 @@ FuPoor::FuPoor(ScTabViewShell& rViewSh, vcl::Window* pWin, ScDrawView* pViewP, pWindow(pWin), pDrDoc(pDoc), aSfxRequest(rReq), - pDialog(nullptr), bIsInDragMode(false), // remember MouseButton state mnCode(0) @@ -53,26 +52,16 @@ FuPoor::~FuPoor() { aDragTimer.Stop(); aScrollTimer.Stop(); - pDialog.disposeAndClear(); } void FuPoor::Activate() { - if (pDialog) - { - pDialog->Show(); - } } void FuPoor::Deactivate() { aDragTimer.Stop(); aScrollTimer.Stop(); - - if (pDialog) - { - pDialog->Hide(); - } } // Scroll when reached the window border; is called from MouseMove |