diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-18 16:40:54 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 12:01:45 +0100 |
commit | 4f72ab022425318b109e52a641e63f673fce653d (patch) | |
tree | ad177f8ca4e78eabc99df672a8fcb52c9ae9f711 /sd/source/ui/view | |
parent | 4f386d07474790648843665cac42879cb33eba48 (diff) |
nail more lifecycle oddness.
Change-Id: Ibc29b488cf5077f1d5eb996a8d88dfd057de8266
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/ViewTabBar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/ViewTabBar.cxx b/sd/source/ui/view/ViewTabBar.cxx index 1cc8abaecd88..05deb3ee0163 100644 --- a/sd/source/ui/view/ViewTabBar.cxx +++ b/sd/source/ui/view/ViewTabBar.cxx @@ -167,8 +167,8 @@ void ViewTabBar::disposing (void) // Set all references to the one tab page to NULL and delete the page. for (sal_uInt16 nIndex=0; nIndex<mpTabControl->GetPageCount(); ++nIndex) mpTabControl->SetTabPage(nIndex, NULL); - mpTabPage.reset(); - mpTabControl.reset(); + mpTabPage.disposeAndClear(); + mpTabControl.disposeAndClear(); } mxController = NULL; |