diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-23 13:42:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-27 22:18:22 +0100 |
commit | cfe41185bc8514949d1938ee1d7cd56968682510 (patch) | |
tree | 8d990aae964cf0ed6ed49c06a86133057481ae7d /svtools | |
parent | 3e1306c283c2aca372a8384801a1e206f208e1cb (diff) |
weld LicenseDialogImpl
Change-Id: I4b2dbd2446779e7179d2b79bf81cc2ff879377bf
Reviewed-on: https://gerrit.libreoffice.org/68389
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueset.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 3f8c91900fe5..0df2623e2523 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -2588,7 +2588,7 @@ void SvtValueSet::ImplTracking(const Point& rPos) } } -void SvtValueSet::MouseButtonDown( const MouseEvent& rMouseEvent ) +bool SvtValueSet::MouseButtonDown( const MouseEvent& rMouseEvent ) { if ( rMouseEvent.IsLeft() ) { @@ -2605,19 +2605,19 @@ void SvtValueSet::MouseButtonDown( const MouseEvent& rMouseEvent ) else if ( rMouseEvent.GetClicks() == 2 ) maDoubleClickHdl.Call( this ); - return; + return true; } } - CustomWidgetController::MouseButtonDown( rMouseEvent ); + return CustomWidgetController::MouseButtonDown( rMouseEvent ); } -void SvtValueSet::MouseMove(const MouseEvent& rMouseEvent) +bool SvtValueSet::MouseMove(const MouseEvent& rMouseEvent) { // because of SelectionMode if ((GetStyle() & WB_MENUSTYLEVALUESET) || (GetStyle() & WB_FLATVALUESET)) ImplTracking(rMouseEvent.GetPosPixel()); - CustomWidgetController::MouseMove(rMouseEvent); + return CustomWidgetController::MouseMove(rMouseEvent); } void SvtValueSet::RemoveItem( sal_uInt16 nItemId ) |