summaryrefslogtreecommitdiff
path: root/include/vcl/alpha.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-11 14:48:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-12 18:59:45 +0200
commitf4932d61e52d595156af1f63e9fb4bed18b63254 (patch)
treeadb93945885cb1462821ee373d2e2b19fb30e104 /include/vcl/alpha.hxx
parent6e2a017049c4a91632d69ffd02e63138616adda0 (diff)
make AlphaMask constructors explicit
to reduce surprises in some changes I'm planning Change-Id: I61cb58d51ab77f57e55159017c7bece5bd99953f Reviewed-on: https://gerrit.libreoffice.org/54161 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/alpha.hxx')
-rw-r--r--include/vcl/alpha.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx
index 1f7876b23d58..a36e4b6b0bfd 100644
--- a/include/vcl/alpha.hxx
+++ b/include/vcl/alpha.hxx
@@ -34,10 +34,10 @@ class VCL_DLLPUBLIC AlphaMask : private Bitmap
public:
AlphaMask();
- AlphaMask( const Bitmap& rBitmap );
+ explicit AlphaMask( const Bitmap& rBitmap );
AlphaMask( const AlphaMask& rAlphaMask );
AlphaMask( AlphaMask&& rAlphaMask );
- AlphaMask( const Size& rSizePixel, const sal_uInt8* pEraseTransparency = nullptr );
+ explicit AlphaMask( const Size& rSizePixel, const sal_uInt8* pEraseTransparency = nullptr );
virtual ~AlphaMask() override;
AlphaMask& operator=( const Bitmap& rBitmap );