summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fupoor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fupoor.cxx')
-rw-r--r--sd/source/ui/func/fupoor.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sd/source/ui/func/fupoor.cxx b/sd/source/ui/func/fupoor.cxx
index 2e939b91d11b..078bdb610c5a 100644
--- a/sd/source/ui/func/fupoor.cxx
+++ b/sd/source/ui/func/fupoor.cxx
@@ -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();
}