Kaydet (Commit) 915bb40d authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: fdo#34023 hang on load of .doc

üst d1a819dd
......@@ -913,12 +913,13 @@ bool Tcg255::Read(SvStream *pS)
{
OSL_TRACE("Tcg255::Read() stream pos 0x%x", pS->Tell() );
nOffSet = pS->Tell();
sal_uInt8 nId = 0; //
sal_uInt8 nId = 0x40;
*pS >> nId;
while ( nId != 0x40 )
{
if ( !processSubStruct( nId, pS ) )
return false;
nId = 0x40;
*pS >> nId;
}
return true;
......@@ -955,9 +956,10 @@ bool Tcg255SubStruct::Read(SvStream *pS)
return true;
}
PlfMcd::PlfMcd( bool bReadId ): Tcg255SubStruct( bReadId ), rgmcd( NULL )
PlfMcd::PlfMcd( bool bReadId ): Tcg255SubStruct( bReadId ), iMac(0), rgmcd( NULL )
{
}
PlfMcd::~PlfMcd()
{
if ( rgmcd )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment