[Libreoffice-commits] core.git: vcl/source

Caolán McNamara caolanm at redhat.com
Sat Dec 31 14:26:30 UTC 2016


 vcl/source/gdi/bitmapex.cxx |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

New commits:
commit da0d7cfb9129d3095d0c56c3cf57ab62637af005
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Dec 31 14:25:43 2016 +0000

    coverity#1398233 Uninitialized scalar field
    
    Change-Id: I79661c54dc5ffe3c690ec544fbb5de0fb8a87302

diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 1743aa7..0124ae1 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 );
 }


More information about the Libreoffice-commits mailing list