merge the formfield patch from ooo-build
[ooovba.git] / applied_patches / 0366-ooo73201.sw.a11yloadcrash.diff
blobe722a35daa42b763f9c9ede6a66884ecf3405420
1 --- sw/source/core/layout/ssfrm.cxx 16 Sep 2006 21:24:12 -0000 1.45
2 +++ sw/source/core/layout/ssfrm.cxx 6 Jan 2007 14:50:07 -0000
3 @@ -577,7 +577,16 @@
4 // --> OD 2004-06-30 #i28701#
5 SwAnchoredObject* pAnchoredObj = (*pFrm->GetDrawObjs())[0];
6 if ( pAnchoredObj->ISA(SwFlyFrm) )
7 + {
9 + //cmc: flush any accessible events that might be related to
10 + //this object
11 + if (ViewShell *pSh = GetShell())
12 + if (SwViewImp *pImp = pSh ? pSh->Imp() : 0)
13 + pImp->FireAccessibleEvents();
15 delete pAnchoredObj;
16 + }
17 else
19 SdrObject* pSdrObj = pAnchoredObj->DrawObj();