diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-13 21:20:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-13 21:20:56 +0000 |
commit | ac01b341ed983d22be5d29b5561e0b448693d931 (patch) | |
tree | 2cce3526f5296a0224a193d27e4dc4f68b2508b6 | |
parent | 1f3978aba2520138bd0fd42ec9634efca7e8d00f (diff) |
coverity#1251603 Uninitialized scalar field
Change-Id: I8e8d11ec292b480d7db750733b31b3be233df8b0
-rw-r--r-- | vcl/opengl/salbmp.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index 55f8d09894f9..0858c153b982 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -271,7 +271,9 @@ private: public: ImplPixelFormat4( const BitmapPalette& rPalette ) - : mrPalette( rPalette ) + : mrPalette( rPalette ) + , mnX(0) + , mnShift(4) { } virtual void StartLine( sal_uInt8* pLine ) SAL_OVERRIDE |