[Libreoffice-commits] core.git: Branch 'feature/chart-opengl2' - svx/source

Michael Meeks michael.meeks at collabora.com
Tue Dec 31 07:25:51 PST 2013


 svx/source/unodraw/unopage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e85a7dee0e1ce59bc4d51d065c533d0ef795c73e
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Dec 31 15:25:17 2013 +0000

    initialize nInventor too.
    
    Change-Id: I09bf1180c2817f611e0752d90f1bb1858b95936e

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


More information about the Libreoffice-commits mailing list