merge the formfield patch from ooo-build
[ooovba.git] / applied_patches / 0364-ooo67658.sfx2.reloadcrash.diff
blob8ac70dd6d4921047e7ac4afa31c06adf5e2d9791
1 --- sfx2/source/doc/objxtor.cxx.old 2009-04-06 16:42:00.000000000 +0000
2 +++ sfx2/source/doc/objxtor.cxx 2009-04-06 16:42:09.000000000 +0000
3 @@ -419,7 +419,16 @@ SfxObjectShell::~SfxObjectShell()
6 if ( pImp->bOwnsStorage && pImp->m_xDocStorage.is() )
7 - pImp->m_xDocStorage->dispose();
8 + {
9 + try
10 + {
11 + pImp->m_xDocStorage->dispose();
12 + }
13 + catch( Exception& )
14 + {
15 + /* what to do ? */
16 + }
17 + }
19 if ( pMedium )