summaryrefslogtreecommitdiff
path: root/vcl/source/window/menufloatingwindow.hxx
diff options
context:
space:
mode:
authorRas-al-Ghul <dipankar1995@gmail.com>2016-01-14 01:38:03 +0530
committerMichael Meeks <michael.meeks@collabora.com>2016-01-19 18:36:35 +0000
commit9c09d4d0d36076d39926eeaf7774171df3b55e52 (patch)
treea8cd978ada41ad32793a258e67566dc89859f439 /vcl/source/window/menufloatingwindow.hxx
parent85b46f51928dc17cda1bc974bca9159de9221b4d (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/menufloatingwindow.hxx')
-rw-r--r--vcl/source/window/menufloatingwindow.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/menufloatingwindow.hxx b/vcl/source/window/menufloatingwindow.hxx
index 6fe08e4f8572..8545fb061a97 100644
--- a/vcl/source/window/menufloatingwindow.hxx
+++ b/vcl/source/window/menufloatingwindow.hxx
@@ -41,7 +41,7 @@ private:
Timer aHighlightChangedTimer;
Timer aSubmenuCloseTimer;
Timer aScrollTimer;
- sal_uLong nSaveFocusId;
+ VclPtr<vcl::Window> xSaveFocusId;
sal_uInt16 nHighlightedItem; // highlighted/selected Item
sal_uInt16 nMBDownPos;
sal_uInt16 nScrollerHeight;
@@ -100,15 +100,15 @@ public:
virtual void ApplySettings(vcl::RenderContext& rRenderContext) 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 EnableScrollMenu( bool b );
bool IsScrollMenu() const { return bScrollMenu; }
sal_uInt16 GetScrollerHeight() const { return nScrollerHeight; }
void Execute();
- void StopExecute( sal_uLong nFocusId = 0 );
+ void StopExecute( VclPtr<vcl::Window> xFocusId = nullptr );
void EndExecute();
void EndExecute( sal_uInt16 nSelectId );