summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-25 09:35:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-25 12:32:54 +0100
commitacad8441cc40b7b0f91681d6827f8364de05046e (patch)
tree2be1315764dc269557a60fb36a48d86b7ed23402 /vcl/opengl
parent12b6bca821a7b0137fcac243f8aa078ba1a152ad (diff)
cppcheck: noExplicitConstructor
Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/salbmp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index 982de8b3a9be..39218faabc5e 100644
--- a/vcl/opengl/salbmp.cxx
+++ b/vcl/opengl/salbmp.cxx
@@ -227,7 +227,7 @@ private:
const BitmapPalette& mrPalette;
public:
- ImplPixelFormat8( const BitmapPalette& rPalette )
+ explicit ImplPixelFormat8( const BitmapPalette& rPalette )
: mrPalette( rPalette )
{
}
@@ -246,7 +246,7 @@ private:
sal_uInt32 mnShift;
public:
- ImplPixelFormat4( const BitmapPalette& rPalette )
+ explicit ImplPixelFormat4( const BitmapPalette& rPalette )
: mrPalette( rPalette )
, mnX(0)
, mnShift(4)
@@ -276,7 +276,7 @@ private:
sal_uInt32 mnX;
public:
- ImplPixelFormat1( const BitmapPalette& rPalette )
+ explicit ImplPixelFormat1( const BitmapPalette& rPalette )
: mrPalette(rPalette)
, mnX(0)
{