summaryrefslogtreecommitdiff
path: root/framework/inc/services/layoutmanager.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-17 15:13:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-17 15:27:33 +0200
commit63c40ba180a584646a69d4c95e20c8580db61211 (patch)
tree6bc6898f106dd2b4aa150300b6e10e18f43830f2 /framework/inc/services/layoutmanager.hxx
parent2f4dbfdd2c94771ffa062789ed97dde0d63f0564 (diff)
manage m_xInplaceMenuBar with rtl::Reference
instead of both a raw pointer and an uno::Reference Change-Id: I44111694671371fac5c4207d1c46f99761bf10eb
Diffstat (limited to 'framework/inc/services/layoutmanager.hxx')
-rw-r--r--framework/inc/services/layoutmanager.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx
index deeb04933a7b..85cde4bdb26a 100644
--- a/framework/inc/services/layoutmanager.hxx
+++ b/framework/inc/services/layoutmanager.hxx
@@ -278,8 +278,7 @@ namespace framework
bool m_bMenuBarCloseButton;
css::awt::Rectangle m_aDockingArea;
css::uno::Reference< css::ui::XDockingAreaAcceptor > m_xDockingAreaAcceptor;
- css::uno::Reference< css::lang::XComponent > m_xInplaceMenuBar;
- MenuBarManager* m_pInplaceMenuBar;
+ rtl::Reference< MenuBarManager > m_xInplaceMenuBar;
css::uno::Reference< css::ui::XUIElement > m_xMenuBar;
UIElement m_aStatusBarElement;
UIElement m_aProgressBarElement;