diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-07 12:30:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-07 14:53:36 +0200 |
commit | 31d902d3c00fdc5f088aff433b7ebf308a718339 (patch) | |
tree | 07b113a7e8d6bc7f6ba89bd5b6af002a594e6120 /extensions | |
parent | bug in typed flags (diff) | |
download | core-31d902d3c00fdc5f088aff433b7ebf308a718339.tar.gz core-31d902d3c00fdc5f088aff433b7ebf308a718339.zip |
fdo#84938: replace MOUSE_ modifier constants with enum
and make the two categories of constants non-overlapping, we
really don't need to risk confusion in order to save 6 bits in
a data structure like this.
Change-Id: I2251195d8e45ed04e2a89e47ae9c3e52cf0475c0
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/toolbar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index b32738e8fda1..d4f433ec763d 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -498,7 +498,7 @@ IMPL_LINK( BibToolBar, MenuHdl, ToolBox*, /*pToolbox*/) } Point aPoint; - MouseEvent aLeave( aPoint, 0, MOUSE_LEAVEWINDOW | MOUSE_SYNTHETIC ); + MouseEvent aLeave( aPoint, 0, MouseEventModifiers::LEAVEWINDOW | MouseEventModifiers::SYNTHETIC ); MouseMove( aLeave ); SetItemDown(TBC_BT_AUTOFILTER,false); |