summaryrefslogtreecommitdiffstats
path: root/include/vcl/virdev.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/virdev.hxx
parentUpdated core (diff)
downloadcore-1fd78e48caf1d0a7908dbc8ecd552c7f0d9d7b6d.tar.gz
core-1fd78e48caf1d0a7908dbc8ecd552c7f0d9d7b6d.zip
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/virdev.hxx')
-rw-r--r--include/vcl/virdev.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/virdev.hxx b/include/vcl/virdev.hxx
index 5d8a70e8f3dc..41caf3e0eef8 100644
--- a/include/vcl/virdev.hxx
+++ b/include/vcl/virdev.hxx
@@ -72,7 +72,7 @@ public:
indicate: take default screen depth. Only 0, 1 and 8
are allowed here, with 1 denoting binary mask and 8 a graylevel mask.
*/
- VirtualDevice( sal_uInt16 nBitCount = 0 );
+ explicit VirtualDevice( sal_uInt16 nBitCount = 0 );
/** Create a virtual device of size 1x1
@@ -84,7 +84,7 @@ public:
indicate: take default screen depth. Only 0 and 1
are allowed here, with 1 denoting binary mask.
*/
- VirtualDevice( const OutputDevice& rCompDev,
+ explicit VirtualDevice( const OutputDevice& rCompDev,
sal_uInt16 nBitCount = 0 );
/** Create a virtual device of size 1x1 with alpha channel
@@ -102,14 +102,14 @@ public:
indicate: take default screen depth. Only 0 and 1
are allowed here, with 1 denoting binary mask.
*/
- VirtualDevice( const OutputDevice& rCompDev,
+ explicit VirtualDevice( const OutputDevice& rCompDev,
sal_uInt16 nBitCount, sal_uInt16 nAlphaBitCount );
/** Create a virtual device using an existing system dependent device or graphics context
Any rendering will happen directly on the context and not on any intermediate bitmap.
Note: This might not be suported on all platforms !
*/
- VirtualDevice( const SystemGraphicsData *pData, sal_uInt16 nBitCount );
+ explicit VirtualDevice( const SystemGraphicsData *pData, sal_uInt16 nBitCount );
virtual ~VirtualDevice();