Kaydet (Commit) 684dfd88 authored tarafından Zdibák Zoltán's avatar Zdibák Zoltán Kaydeden (comit) Markus Mohrhard

cppCheck RedundantAssignment variable p3DObj

Change-Id: Ib423480bdb5d2cee183b5d1bda5b1a9ff05fdafc
Reviewed-on: https://gerrit.libreoffice.org/62667Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 50663259
......@@ -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);
......
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