diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-04-17 14:08:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-17 16:49:13 +0200 |
commit | 7852fdc1ae87434e06bbbfd05a349c4624fbfd50 (patch) | |
tree | 28a219e3b919cca779cb013abf9306ad8d4fd9f5 /svx | |
parent | 7ef7a23e7ee1f59cf719618991b3028456d84cf8 (diff) |
tdf#141701 Crash when closing 3D View dialog of 3D chart
regression from
commit 1d2773807f6d2deb1181ef4b14fbdd49ca1d5c14
ref-count SdrPage
we need to clear the SdrPage which releases some objects
or some unhelpful DBG_UTIL mode code in ~SdrObject will
kick in and try and release objects, but it ends
up deleting child objects before parent objects,
which cau
Change-Id: Iaad89a05a30c119807beacc54aaa66b6fde634e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114223
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/dlgctl3d.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index ba8ac822fa62..0c7c62229bc9 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -63,6 +63,7 @@ void Svx3DPreviewControl::SetDrawingArea(weld::DrawingArea* pDrawingArea) Svx3DPreviewControl::~Svx3DPreviewControl() { + mxFmPage.clear(); mp3DView.reset(); mpModel.reset(); } |