vcl/source/gdi/octree.cxx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
New commits: commit 7c33c49dd50aaf4ec3d7e32af395e8f6311c96e7 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Oct 27 21:27:07 2016 +0100 coverity#1374319 Uninitialized pointer field Change-Id: Ifc604753360f552512a5c9f9f9c42083a38e1a5f diff --git a/vcl/source/gdi/octree.cxx b/vcl/source/gdi/octree.cxx index 7df368b..2abad51 100644 --- a/vcl/source/gdi/octree.cxx +++ b/vcl/source/gdi/octree.cxx @@ -52,11 +52,14 @@ ImpNodeCache::~ImpNodeCache() } } -Octree::Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors ) : - nMax ( nColors ), - nLeafCount ( 0 ), - pTree ( nullptr ), - pAcc ( &rReadAcc ) +Octree::Octree(const BitmapReadAccess& rReadAcc, sal_uLong nColors) + : nMax(nColors) + , nLeafCount(0) + , nLevel(0) + , pTree(nullptr) + , pColor(nullptr) + , pAcc(&rReadAcc) + , nPalIndex(0) { pNodeCache = new ImpNodeCache( nColors ); memset( pReduce, 0, ( OCTREE_BITS + 1 ) * sizeof( NODE* ) );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits