diff options
author | Ras-al-Ghul <dipankar1995@gmail.com> | 2016-01-14 01:38:03 +0530 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-01-19 18:36:35 +0000 |
commit | 9c09d4d0d36076d39926eeaf7774171df3b55e52 (patch) | |
tree | a8cd978ada41ad32793a258e67566dc89859f439 /vcl/source/window/menubarwindow.hxx | |
parent | 85b46f51928dc17cda1bc974bca9159de9221b4d (diff) |
tdf#96888 - Kill internal vcl dog-tags ...
Modifications done as per CR
Change-Id: I0b57f5c32fc217929d71411ca5176e3cab3f6e73
Reviewed-on: https://gerrit.libreoffice.org/21457
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'vcl/source/window/menubarwindow.hxx')
-rw-r--r-- | vcl/source/window/menubarwindow.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/menubarwindow.hxx b/vcl/source/window/menubarwindow.hxx index f59ddeac772e..592f962047ba 100644 --- a/vcl/source/window/menubarwindow.hxx +++ b/vcl/source/window/menubarwindow.hxx @@ -78,7 +78,7 @@ private: PopupMenu* pActivePopup; sal_uInt16 nHighlightedItem; sal_uInt16 nRolloveredItem; - sal_uLong nSaveFocusId; + VclPtr<vcl::Window> xSaveFocusId; bool mbAutoPopup; bool bIgnoreFirstMove; bool bStayActive; @@ -127,8 +127,8 @@ public: virtual void Resize() override; virtual void RequestHelp( const HelpEvent& rHEvt ) override; - void SetFocusId(sal_uLong nId) { nSaveFocusId = nId; } - sal_uLong GetFocusId() const { return nSaveFocusId; } + void SetFocusId(const VclPtr<vcl::Window>& xId) { xSaveFocusId = xId; } + VclPtr<vcl::Window> GetFocusId() const { return xSaveFocusId; } void SetMenu(MenuBar* pMenu); void SetHeight(long nHeight); |