summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-03-16 10:33:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-03-16 10:35:41 +0000
commit125c845f406fca336baea89614a5017f909bab40 (patch)
tree96582a8ef94793c21f938bcc27a32ab9d79cda0c /vcl
parentf958db475d19ac60f39616e075717c2fe3ee4839 (diff)
attempt to address reported loplugin:vclwidgets warning
Change-Id: I6ccefa2d5d1c57cf9f1c4041d14c92d03ded1333
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/menu.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 373d94686887..c31887e2d013 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -2494,9 +2494,9 @@ MenuBar::MenuBar(SystemWindow* pAssociatedSystemWindow)
mbFloatBtnVisible(false),
mbHideBtnVisible(false),
mbDisplayable(true),
- mpAssociatedSystemWindow(pAssociatedSystemWindow)
+ mxAssociatedSystemWindow(pAssociatedSystemWindow)
{
- mpSalMenu = ImplGetSVData()->mpDefInst->CreateMenu(true, this, mpAssociatedSystemWindow);
+ mpSalMenu = ImplGetSVData()->mpDefInst->CreateMenu(true, this, mxAssociatedSystemWindow.get());
}
MenuBar::MenuBar( const MenuBar& rMenu )
@@ -2506,7 +2506,7 @@ MenuBar::MenuBar( const MenuBar& rMenu )
mbHideBtnVisible(false),
mbDisplayable(true)
{
- mpSalMenu = ImplGetSVData()->mpDefInst->CreateMenu(true, this, mpAssociatedSystemWindow);
+ mpSalMenu = ImplGetSVData()->mpDefInst->CreateMenu(true, this, mxAssociatedSystemWindow.get());
*this = rMenu;
}