[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - svx/source

Michael Meeks michael.meeks at collabora.com
Tue Dec 31 07:35:05 PST 2013


 svx/source/unodraw/unopage.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d4e8c8101df1c8ea04d5b54dcc618bc528b4c209
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Dec 31 15:22:54 2013 +0000

    valgrind: initialize nType and nInventor value.
    
    Change-Id: I0b5be94ebbe94d4b6b36f67d31c414938b47f6af

diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 073ff34..771f8e8 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -432,8 +432,8 @@ void SAL_CALL SvxDrawPage::ungroup( const Reference< drawing::XShapeGroup >& aGr
 
 SdrObject *SvxDrawPage::_CreateSdrObject( const Reference< drawing::XShape > & xShape ) throw()
 {
-    sal_uInt16 nType;
-    sal_uInt32 nInventor;
+    sal_uInt16 nType = 0;
+    sal_uInt32 nInventor = 0;
 
     GetTypeAndInventor( nType, nInventor, xShape->getShapeType() );
     SdrObject* pNewObj = 0;


More information about the Libreoffice-commits mailing list