summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations/annotationwindow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-26 13:20:10 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 21:55:41 +0100
commit0cef43d2e425895746392c6f503c660a7ca1241c (patch)
treec7e16b823eaab99379dbebc3347e7b2e3874be25 /sd/source/ui/annotations/annotationwindow.cxx
parente10b12842eb15b3b9bf577b4da036313fa830786 (diff)
vcl: VclPtr conversion in sd
Change-Id: I3cde57acfeec194968a639f8557b17177a94d37f
Diffstat (limited to 'sd/source/ui/annotations/annotationwindow.cxx')
-rw-r--r--sd/source/ui/annotations/annotationwindow.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx
index 24ce6a43e0e5..491142fb8895 100644
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -284,11 +284,17 @@ AnnotationWindow::AnnotationWindow( AnnotationManagerImpl& rManager, DrawDocShel
AnnotationWindow::~AnnotationWindow()
{
+ dispose();
+}
+
+void AnnotationWindow::dispose()
+{
delete mpMeta;
delete mpOutlinerView;
delete mpOutliner;
delete mpVScrollbar;
delete mpTextWindow;
+ FloatingWindow::dispose();
}
void AnnotationWindow::InitControls()