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

Michael Meeks michael.meeks at collabora.com
Tue Dec 31 07:27:19 PST 2013


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

New commits:
commit 37bd8347e48d573fafc2c7a8220bd72708d1c673
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