| commit | 8aa8be724dafc266d7daeae325806ca2caae2efe | [log] |
|---|---|---|
| author | Eike Rathke <erack@redhat.com> | Tue Apr 11 19:05:46 2017 +0200 |
| committer | Eike Rathke <erack@redhat.com> | Tue Apr 11 19:06:36 2017 +0200 |
| tree | 1fbc37d802d29b382555ad94fba36926b02603c7 | |
| parent | 59aebc3e51490ba9c76a261b2e5090b12f30e0da [diff] |
deleting pModel also deletes the SdrCaptionObj Change-Id: Icf3aed35ede1c211d6238dc66d86cb2866b247cd
diff --git a/sc/source/ui/view/notemark.cxx b/sc/source/ui/view/notemark.cxx index a55cc91..52dc58e 100644 --- a/sc/source/ui/view/notemark.cxx +++ b/sc/source/ui/view/notemark.cxx
@@ -65,6 +65,9 @@ ScNoteMarker::ScNoteMarker( vcl::Window* pWin, vcl::Window* pRight, vcl::Window* ScNoteMarker::~ScNoteMarker() { if (pModel) mxObject.release(); // deleting pModel also deletes the SdrCaptionObj InvalidateWin(); delete pModel;