diff options
Diffstat (limited to 'sd/source/filter')
-rw-r--r-- | sd/source/filter/ppt/propread.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx index 2129ea003665..6798915c7d02 100644 --- a/sd/source/filter/ppt/propread.cxx +++ b/sd/source/filter/ppt/propread.cxx @@ -82,10 +82,14 @@ sal_Bool PropItem::Read( OUString& rString, sal_uInt32 nStringType, sal_Bool bAl nItemPos = Tell(); if ( nStringType == VT_EMPTY ) + { + nType = VT_NULL; // Initialize in case stream fails. *this >> nType; + } else nType = nStringType & VT_TYPEMASK; + nItemSize = 0; // Initialize in case stream fails. *this >> nItemSize; switch( nType ) |