update dev300-m58
[ooovba.git] / applied_patches / 0028-selection-crash-svx-svdmrkv.diff
blob50d5826416ace98ae18e978c4043786b7d91dc0f
1 --- svx/source/svdraw/svdmrkv.cxx.orig 2007-05-23 17:21:10.000000000 +0800
2 +++ svx/source/svdraw/svdmrkv.cxx 2007-05-23 17:21:15.000000000 +0800
3 @@ -254,6 +254,19 @@
4 GetMarkedObjectListWriteAccess().SetUnsorted();
5 SortMarkedObjects();
6 bMrkPntDirty=TRUE;
7 + //remove empty maked SdrObject
8 + ULONG nMarkAnz=GetMarkedObjectCount();
9 + for (ULONG nMarkNum=nMarkAnz; nMarkNum>0;)
10 + {
11 + nMarkNum--;
12 + SdrMark* pM=GetSdrMarkByIndex(nMarkNum);
13 + const SdrObject* pObj=pM->GetMarkedSdrObj();
14 + if( pObj == NULL )
15 + {
16 + GetMarkedObjectListWriteAccess().DeleteMark(nMarkNum);
17 + }
18 + }
20 UndirtyMrkPnt();
21 SdrView* pV=(SdrView*)this;
22 if (pV!=NULL && !pV->IsDragObj() && !pV->IsInsObjPoint()) { // an dieser Stelle habe ich ein ziemliches Problem !!!