summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fudraw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fudraw.cxx')
-rw-r--r--sd/source/ui/func/fudraw.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx
index 4494d8476e3e..068a3e03cb91 100644
--- a/sd/source/ui/func/fudraw.cxx
+++ b/sd/source/ui/func/fudraw.cxx
@@ -344,17 +344,6 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt)
}
else
{
- /* If IP-Client active, we reset the pointer to the OLE- and
- to the old graphic object of SdClient. With this, we
- avoid the restoration of an no more existing object in
- ::SelectionHasChanged after deletion. All other OLE
- objects are not affected. */
- OSL_ASSERT (mpViewShell->GetViewShell()!=nullptr);
- Client* pIPClient = static_cast<Client*>(
- mpViewShell->GetViewShell()->GetIPClient());
- if (pIPClient && pIPClient->IsObjectInPlaceActive())
- pIPClient->SetSdrGrafObj(nullptr);
-
// wait-mousepointer while deleting object
WaitObject aWait( static_cast<vcl::Window*>(mpViewShell->GetActiveWindow()) );
// delete object