summaryrefslogtreecommitdiff
path: root/include/vcl/menubtn.hxx
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-01-14 14:08:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-10 15:44:40 +0100
commit1fd78e48caf1d0a7908dbc8ecd552c7f0d9d7b6d (patch)
treed53ce03c4fa8e3dfa0f9e51e893d3f99d0b36b52 /include/vcl/menubtn.hxx
parent62d2faac1962a082abeb0169acc3d615bfaac4db (diff)
make some important single-parameter constructors explicit
for symmetry also the other constructors in the same class and mark their destructors as virtual if they are anyway (cherry picked from commit 870349eada8c0e56d58c8d2ee40ad561a9f982fe) Conflicts: vcl/inc/vcl/button.hxx vcl/inc/vcl/combobox.hxx vcl/inc/vcl/ctrl.hxx vcl/inc/vcl/dialog.hxx vcl/inc/vcl/dockingarea.hxx vcl/inc/vcl/event.hxx vcl/inc/vcl/field.hxx vcl/inc/vcl/fixed.hxx vcl/inc/vcl/floatwin.hxx vcl/inc/vcl/fontmanager.hxx vcl/inc/vcl/group.hxx vcl/inc/vcl/lstbox.hxx vcl/inc/vcl/menu.hxx vcl/inc/vcl/menubtn.hxx vcl/inc/vcl/metaact.hxx vcl/inc/vcl/morebtn.hxx vcl/inc/vcl/pngread.hxx vcl/inc/vcl/scrbar.hxx vcl/inc/vcl/spin.hxx vcl/inc/vcl/spinfld.hxx vcl/inc/vcl/split.hxx vcl/inc/vcl/syschild.hxx vcl/inc/vcl/tabpage.hxx vcl/inc/vcl/virdev.hxx vcl/inc/vcl/wrkwin.hxx Change-Id: I8c29f74208cf382a9baa01c2e2d0757688cb4641
Diffstat (limited to 'include/vcl/menubtn.hxx')
-rw-r--r--include/vcl/menubtn.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx
index 4036ee9059b1..85dc0150b539 100644
--- a/include/vcl/menubtn.hxx
+++ b/include/vcl/menubtn.hxx
@@ -67,9 +67,9 @@ protected:
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
public:
- MenuButton( Window* pParent, WinBits nStyle = 0 );
- MenuButton( Window* pParent, const ResId& rResId );
- ~MenuButton();
+ explicit MenuButton( Window* pParent, WinBits nStyle = 0 );
+ explicit MenuButton( Window* pParent, const ResId& );
+ virtual ~MenuButton();
virtual void MouseButtonDown( const MouseEvent& rMEvt );
virtual void KeyInput( const KeyEvent& rKEvt );