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;