summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2016-04-13 00:07:56 +0200
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2016-04-12 22:59:42 +0000
commitfd4ca5523a0e92c1531faacc3c38b936c1af31f9 (patch)
treec93b618f243620a2a274fc24c34b89bd082e7eaa
parent453adce56ff8d8a9aedc3a175a2eb0afefdb17eb (diff)
lp#1569589: a more honest attempt at disposing SvtFileView_Impl
Dunno yet if that completely fixes the story -- the reference here are quite messy: ownership isnt exactly obvious. Change-Id: I54d71ac724590e85549bd152c963fdc8de46746e Reviewed-on: https://gerrit.libreoffice.org/24040 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
-rw-r--r--svtools/source/contnr/fileview.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 8f0a58cbab48..666c2a0044c4 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -1490,7 +1490,9 @@ SvtFileView_Impl::~SvtFileView_Impl()
{
Clear();
mpView.disposeAndClear();
+ mpCurView.clear();
mpIconView.disposeAndClear();
+ mpAntiImpl.clear();
}