diff options
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r-- | svx/source/engine3d/float3d.cxx | 2 | ||||
-rw-r--r-- | svx/source/engine3d/view3d.cxx | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx index 85df3f93938e..8d0a72d11923 100644 --- a/svx/source/engine3d/float3d.cxx +++ b/svx/source/engine3d/float3d.cxx @@ -92,7 +92,6 @@ Svx3DWin::Svx3DWin(SfxBindings* pInBindings, SfxChildWindow *pCW, vcl::Window* p , aImgLightOff(BitmapEx(RID_SVXBMP_LAMP_OFF)) , bUpdate(false) , eViewType(ViewType3D::Geo) - , pVDev(nullptr) , pBindings(pInBindings) , mpImpl(new Svx3DWinImpl) , ePoolUnit(MapUnit::MapMM) @@ -324,7 +323,6 @@ Svx3DWin::~Svx3DWin() void Svx3DWin::dispose() { - pVDev.disposeAndClear(); pModel.reset(); pControllerItem.reset(); diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx index a601f1b27791..ce6e3c831027 100644 --- a/svx/source/engine3d/view3d.cxx +++ b/svx/source/engine3d/view3d.cxx @@ -1255,7 +1255,7 @@ bool E3dView::BegDragObj(const Point& rPnt, OutputDevice* pOut, } // do not mask the allowed rotations - eConstraint = E3dDragConstraint(eConstraint& eDragConstraint); + eConstraint &= E3dDragConstraint::XYZ; pForcedMeth = new E3dDragRotate(*this, GetMarkedObjectList(), eConstraint, IsSolidDragging()); } break; @@ -1506,7 +1506,6 @@ void E3dView::ResetCreationActive () void E3dView::InitView () { - eDragConstraint = E3dDragConstraint::XYZ; aDefaultLightColor = COL_WHITE; aDefaultAmbientColor = COL_BLACK; mpMirrorOverlay = nullptr; |