diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-31 14:25:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-31 14:25:43 +0000 |
commit | da0d7cfb9129d3095d0c56c3cf57ab62637af005 (patch) | |
tree | ac58f41d7eadfb0307351d00f695ebe833286c82 /vcl | |
parent | 08ce56bb003dcdcad808dbdddb16ac3a87a15bfa (diff) |
coverity#1398233 Uninitialized scalar field
Change-Id: I79661c54dc5ffe3c690ec544fbb5de0fb8a87302
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/bitmapex.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index 1743aa75ee27..0124ae16808f 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -49,9 +49,9 @@ using namespace ::com::sun::star; -BitmapEx::BitmapEx() : - eTransparent( TransparentType::NONE ), - bAlpha ( false ) +BitmapEx::BitmapEx() + : eTransparent(TransparentType::NONE) + , bAlpha(false) { } @@ -65,9 +65,9 @@ BitmapEx::BitmapEx( const BitmapEx& rBitmapEx ) : { } -BitmapEx::BitmapEx( const BitmapEx& rBitmapEx, Point aSrc, Size aSize ) : - eTransparent( TransparentType::NONE ), - bAlpha ( false ) +BitmapEx::BitmapEx( const BitmapEx& rBitmapEx, Point aSrc, Size aSize ) + : eTransparent(TransparentType::NONE) + , bAlpha(false) { if( rBitmapEx.IsEmpty() ) return; @@ -88,6 +88,8 @@ BitmapEx::BitmapEx( const BitmapEx& rBitmapEx, Point aSrc, Size aSize ) : } BitmapEx::BitmapEx( const OUString& rIconName ) + : eTransparent(TransparentType::NONE) + , bAlpha(false) { loadFromIconTheme( rIconName ); } |