summaryrefslogtreecommitdiff
path: root/svx
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:26:16 +0000
commit37bd8347e48d573fafc2c7a8220bd72708d1c673 (patch)
treef8b6515ac3a2c63ff89586571f87a1e784d589a8 /svx
parent4754b8ac5074d86234cafe1b1401f6d22f14b929 (diff)
valgrind: initialize nType and nInventor value.
Change-Id: I0b5be94ebbe94d4b6b36f67d31c414938b47f6af
Diffstat (limited to 'svx')
-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;