summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2013-12-31 15:22:54 +0000
committerMichael Meeks <michael.meeks@collabora.com>2013-12-31 15:27:19 +0000
commitd4e8c8101df1c8ea04d5b54dcc618bc528b4c209 (patch)
tree8ce9999d9e04589621fbe5350d5840df35035b86
parente1f4de66afa5f0cf54f90a1fed150dc200680da2 (diff)
valgrind: initialize nType and nInventor value.
Change-Id: I0b5be94ebbe94d4b6b36f67d31c414938b47f6af
-rw-r--r--svx/source/unodraw/unopage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 073ff34065a5..771f8e80b115 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;