summaryrefslogtreecommitdiff
path: root/include/vcl/image.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-22 14:35:31 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-22 14:42:17 +0200
commitdd28837249088bf6e6ec11ed01a01be6f1774985 (patch)
tree452a88ea26e395f846df690472147898dd999036 /include/vcl/image.hxx
parent61027a637760087ee716f64ae0f216ef2a640108 (diff)
vcl: mark more Image constructors as "explicit"
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
Diffstat (limited to 'include/vcl/image.hxx')
-rw-r--r--include/vcl/image.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx
index 912ecb916306..399bbe034eff 100644
--- a/include/vcl/image.hxx
+++ b/include/vcl/image.hxx
@@ -51,13 +51,13 @@ class VCL_DLLPUBLIC Image
public:
Image();
- Image( const ResId& rResId );
+ explicit Image( const ResId& rResId );
Image( const Image& rImage );
- Image( const BitmapEx& rBitmapEx );
- Image( const Bitmap& rBitmap );
+ explicit Image( const BitmapEx& rBitmapEx );
+ explicit Image( const Bitmap& rBitmap );
Image( const Bitmap& rBitmap, const Bitmap& rMaskBitmap );
Image( const Bitmap& rBitmap, const Color& rColor );
- Image( const ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic >& rxGraphic );
+ explicit Image( const ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic >& rxGraphic );
explicit Image( const OUString &rPNGFileUrl );
~Image();
@@ -83,8 +83,8 @@ private:
class VCL_DLLPUBLIC ImageList
{
public:
- ImageList( sal_uInt16 nInit = 8, sal_uInt16 nGrow = 4 );
- ImageList( const ResId& rResId );
+ explicit ImageList( sal_uInt16 nInit = 8, sal_uInt16 nGrow = 4 );
+ explicit ImageList( const ResId& rResId );
ImageList( const ::std::vector< OUString >& rNameVector,
const OUString& rPrefix,
const Color* pMaskColor = NULL );