Kaydet (Commit) 4b713fb4 authored tarafından Caolán McNamara's avatar Caolán McNamara

unused Dialog field in FuPoor

Change-Id: Ic8ff613f7de37476054874f60bc83666d4cf404c
Reviewed-on: https://gerrit.libreoffice.org/61479
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 8b119b97
......@@ -29,7 +29,6 @@
#include <sfx2/dispatch.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/request.hxx>
#include <vcl/dialog.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/drawing/XLayer.hpp>
#include <com/sun/star/drawing/XLayerManager.hpp>
......@@ -72,7 +71,6 @@ FuPoor::FuPoor (
mpDocSh( pDrDoc->GetDocSh() ),
mpDoc(pDrDoc),
nSlotId( rReq.GetSlot() ),
pDialog(nullptr),
bIsInDragMode(false),
bNoScrollUntilInside (true),
bScrollable (false),
......@@ -98,15 +96,10 @@ FuPoor::~FuPoor()
aDragTimer.Stop();
aScrollTimer.Stop();
aDelayToScrollTimer.Stop();
pDialog.disposeAndClear();
}
void FuPoor::Activate()
{
if (pDialog)
{
pDialog->Show();
}
}
void FuPoor::Deactivate()
......@@ -116,11 +109,6 @@ void FuPoor::Deactivate()
aDelayToScrollTimer.Stop ();
bScrollable = bDelayActive = false;
if (pDialog)
{
pDialog->Hide();
}
if (mpWindow && mpWindow->IsMouseCaptured())
mpWindow->ReleaseMouse();
}
......
......@@ -29,7 +29,6 @@
class SdDrawDocument;
class SfxRequest;
class Dialog;
class SdrObject;
class CommandEvent;
class HelpEvent;
......@@ -152,8 +151,6 @@ protected:
sal_uInt16 nSlotId;
VclPtr<Dialog> pDialog;
Timer aScrollTimer; ///< for auto-scrolling
DECL_LINK( ScrollHdl, Timer *, void );
void ForceScroll(const Point& aPixPos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment