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

Michael Meeks michael.meeks at collabora.com
Tue Dec 31 07:23:56 PST 2013


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

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

    initialize nType value.
    
    Change-Id: I0b5be94ebbe94d4b6b36f67d31c414938b47f6af

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


More information about the Libreoffice-commits mailing list