diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2014-07-23 13:54:42 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2014-07-23 14:08:58 +0300 |
commit | 3e18cf51c10dc82b81b95381d3beb4796578a2f1 (patch) | |
tree | 3cf845a6743e61f822c47bf7d90f5285fca07dcc | |
parent | 8f8ee6fd2c50572c44363a6d5d23bd9d192fe08d (diff) |
fdo#81651 Wrong argument type in overriding class
See commits:
16752a8a773cf8096e28628237238a562016c4e5
c3a89936abc7967ebe8916ca83cb38f6837f9aa1
Change-Id: Ib58888f1027b26fab08519e8c6bede7dbeeb14b5
-rw-r--r-- | sw/source/uibase/inc/workctrl.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/ribbar/workctrl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/workctrl.hxx b/sw/source/uibase/inc/workctrl.hxx index 38e6a76fae7b..edcc673843cd 100644 --- a/sw/source/uibase/inc/workctrl.hxx +++ b/sw/source/uibase/inc/workctrl.hxx @@ -57,7 +57,7 @@ class SwTbxInsertCtrl : public SfxToolBoxControl sal_uInt16 nLastSlotId; using SfxToolBoxControl::Select; - virtual void Select( sal_Bool bMod1 = sal_False ); + virtual void Select( sal_uInt16 nSelectModifier ); public: SFX_DECL_TOOLBOX_CONTROL(); diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx index 31a8978e746c..48a4e66efd29 100644 --- a/sw/source/uibase/ribbar/workctrl.cxx +++ b/sw/source/uibase/ribbar/workctrl.cxx @@ -136,7 +136,7 @@ SfxPopupWindowType SwTbxInsertCtrl::GetPopupWindowType() const return nLastSlotId ? SFX_POPUPWINDOW_ONTIMEOUT : SFX_POPUPWINDOW_ONCLICK; } -void SwTbxInsertCtrl::Select( sal_Bool /*bMod1*/ ) +void SwTbxInsertCtrl::Select( sal_uInt16 /*nSelectModifier*/ ) { if( nLastSlotId ) { |