diff options
author | Herbert Dürr <hdu@apache.org> | 2013-01-14 14:08:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-10 15:44:40 +0100 |
commit | 1fd78e48caf1d0a7908dbc8ecd552c7f0d9d7b6d (patch) | |
tree | d53ce03c4fa8e3dfa0f9e51e893d3f99d0b36b52 /include/vcl/event.hxx | |
parent | 62d2faac1962a082abeb0169acc3d615bfaac4db (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/event.hxx')
-rw-r--r-- | include/vcl/event.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/vcl/event.hxx b/include/vcl/event.hxx index e89d52ad1e9a..1d3c76e0ba7b 100644 --- a/include/vcl/event.hxx +++ b/include/vcl/event.hxx @@ -118,8 +118,8 @@ private: sal_uInt16 mnCode; public: - MouseEvent(); - MouseEvent( const Point& rPos, sal_uInt16 nClicks = 1, + explicit MouseEvent(); + explicit MouseEvent( const Point& rPos, sal_uInt16 nClicks = 1, sal_uInt16 nMode = 0, sal_uInt16 nButtons = 0, sal_uInt16 nModifier = 0 ); @@ -254,9 +254,9 @@ private: sal_Bool mbKeyboardActivated; public: - HelpEvent(); - HelpEvent( sal_uInt16 nHelpMode ); - HelpEvent( const Point& rMousePos, sal_uInt16 nHelpMode ); + explicit HelpEvent(); + explicit HelpEvent( sal_uInt16 nHelpMode ); + explicit HelpEvent( const Point& rMousePos, sal_uInt16 nHelpMode ); const Point& GetMousePosPixel() const; sal_uInt16 GetMode() const { return mnMode; } @@ -347,8 +347,8 @@ private: sal_uInt16 mnFlags; public: - TrackingEvent(); - TrackingEvent( const MouseEvent& rMEvt, + explicit TrackingEvent(); + explicit TrackingEvent( const MouseEvent&, sal_uInt16 nTrackFlags = 0 ); const MouseEvent& GetMouseEvent() const { return maMEvt; } @@ -481,8 +481,8 @@ private: sal_uInt16 mnType; public: - DataChangedEvent(); - DataChangedEvent( sal_uInt16 nType, + explicit DataChangedEvent(); + explicit DataChangedEvent( sal_uInt16 nType, const void* pData = NULL, sal_uLong nFlags = 0 ); |