summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/func/fucon3d.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx
index f4f45dc5ca88..eb9cb4f9df8d 100644
--- a/sd/source/ui/func/fucon3d.cxx
+++ b/sd/source/ui/func/fucon3d.cxx
@@ -328,11 +328,9 @@ bool FuConstruct3dObject::MouseButtonDown(const MouseEvent& rMEvt)
mpWindow->CaptureMouse();
sal_uInt16 nDrgLog = sal_uInt16 ( mpWindow->PixelToLogic(Size(DRGPIX,0)).Width() );
- E3dCompoundObject* p3DObj = nullptr;
-
WaitObject aWait( static_cast<vcl::Window*>(mpViewShell->GetActiveWindow()) );
- p3DObj = ImpCreateBasic3DShape();
+ E3dCompoundObject* p3DObj = ImpCreateBasic3DShape();
E3dScene* pScene = mpView->SetCurrent3DObj(p3DObj);
ImpPrepareBasic3DShape(p3DObj, pScene);