Apache OpenOffice (AOO) Bugzilla – Attachment #3118: sfx2/source/bastyp/progress.cxx - re-order to avoid confusion for issue #8205
void SfxProgress_Impl::Enable_Impl( BOOL bEnable )
{
SfxObjectShell* pDoc = bAllDocs ? NULL : xObjSh;
SfxObjectShell* pDoc = NULL ;
if(bAllDocs)
pDoc = xObjSh;
SfxViewFrame *pFrame= SfxViewFrame::GetFirst(pDoc);
while ( pFrame )