diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-17 20:36:34 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 11:51:24 +0100 |
commit | 7aa921cb53eedd0a107fbe9f75365adcce4d37d9 (patch) | |
tree | ea9e4d6510ae63fc05c71d948e61e55bacf5863f /sfx2/source/sidebar/Panel.cxx | |
parent | 256371f49dad16347db48d7ff826779345538f3c (diff) |
lingering smart_ptr 'reset' -> disposeAndClear.
Change-Id: Ia126588580b76cc69944bb974d93cb51ee0356dd
Diffstat (limited to 'sfx2/source/sidebar/Panel.cxx')
-rw-r--r-- | sfx2/source/sidebar/Panel.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx index 086999ee9289..2f33b95a766d 100644 --- a/sfx2/source/sidebar/Panel.cxx +++ b/sfx2/source/sidebar/Panel.cxx @@ -77,7 +77,6 @@ Panel::~Panel() void Panel::dispose() { Dispose(); - mpTitleBar.disposeAndClear(); vcl::Window::dispose(); } @@ -98,7 +97,7 @@ void Panel::Dispose (void) xComponent->dispose(); } - mpTitleBar.reset(); + mpTitleBar.disposeAndClear(); } PanelTitleBar* Panel::GetTitleBar (void) const |