diff options
author | Zdibák Zoltán <zdibakzoltan@gmail.com> | 2018-10-30 20:28:28 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-10-31 02:18:20 +0100 |
commit | 684dfd88716b65b354f0de2ff5661ca0736e4a29 (patch) | |
tree | 0767de05a690e73796764bf2fdd3db1eef09c657 | |
parent | 5066325953943814fa66f6d6a835d848903b742d (diff) |
cppCheck RedundantAssignment variable p3DObj
Change-Id: Ib423480bdb5d2cee183b5d1bda5b1a9ff05fdafc
Reviewed-on: https://gerrit.libreoffice.org/62667
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sd/source/ui/func/fucon3d.cxx | 4 |
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); |