diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-13 15:06:22 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-13 15:10:32 +0100 |
commit | c9f2abed2e8a618bdf1237c162cb2073bb7022e0 (patch) | |
tree | 7bb0157b473856818350a896afefe4af33244130 /sd/source/ui/annotations/annotationwindow.cxx | |
parent | c6fb78d5fd5f52384f4b959091f50da60ba4b37a (diff) |
More lifecycle correction.
Another (complete) audit of delete usage in:
"vclwidget: change all vcl::window fields to be wrapped in VclPtr"
Change-Id: I828212ded66ecc5cc30c75a4de626c7b386cb77a
Diffstat (limited to 'sd/source/ui/annotations/annotationwindow.cxx')
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index 7ca80ef9456e..48ed13a2aefd 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -296,11 +296,11 @@ AnnotationWindow::~AnnotationWindow() void AnnotationWindow::dispose() { - mpMeta.clear(); + mpMeta.disposeAndClear(); delete mpOutlinerView; delete mpOutliner; - mpVScrollbar.clear(); - mpTextWindow.clear(); + mpVScrollbar.disposeAndClear(); + mpTextWindow.disposeAndClear(); FloatingWindow::dispose(); } |