Kaydet (Commit) ca3700c4 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

v612: obfuscated if/goto

Change-Id: Ia12b325e41238b9e12e2f388273bd01b96d61c08
üst 8da61f23
......@@ -3178,11 +3178,10 @@ PPTExtParaProv::PPTExtParaProv( SdrPowerPointImport& rMan, SvStream& rSt, const
DffRecordHeader aContentDataHd;
const DffRecordHeader* pListHd = rMan.aDocRecManager.GetRecordHeader( PPT_PST_List, SEEK_FROM_BEGINNING );
while( pListHd )
{
if( pListHd )
pListHd->SeekToContent( rSt );
if ( !rMan.SeekToContentOfProgTag( 9, rSt, *pListHd, aContentDataHd ) )
break;
if ( pListHd && rMan.SeekToContentOfProgTag( 9, rSt, *pListHd, aContentDataHd ) )
{
while ( ( rSt.GetError() == 0 ) && ( rSt.Tell() < aContentDataHd.GetRecEndFilePos() ) )
{
ReadDffRecordHeader( rSt, aHd );
......@@ -3257,13 +3256,10 @@ PPTExtParaProv::PPTExtParaProv( SdrPowerPointImport& rMan, SvStream& rSt, const
}
aHd.SeekToEndOfRecord( rSt );
}
break;
}
while( pHd )
if ( pHd && rMan.SeekToContentOfProgTag( 9, rSt, *pHd, aContentDataHd ) )
{ // get the extended paragraph styles on mainmaster ( graphical bullets, num ruling ... )
if ( !rMan.SeekToContentOfProgTag( 9, rSt, *pHd, aContentDataHd ) )
break;
while ( ( rSt.GetError() == 0 ) && ( rSt.Tell() < aContentDataHd.GetRecEndFilePos() ) )
{
ReadDffRecordHeader( rSt, aHd );
......@@ -3308,7 +3304,6 @@ PPTExtParaProv::PPTExtParaProv( SdrPowerPointImport& rMan, SvStream& rSt, const
}
aHd.SeekToEndOfRecord( rSt );
}
break;
}
rSt.Seek( nOldPos );
}
......
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