CVS wrapper -- version: 1.57 ? mypatch Index: svdpage.hxx =================================================================== RCS file: /cvs/graphics/svx/inc/svdpage.hxx,v retrieving revision 1.11 diff -u -r1.11 svdpage.hxx --- svdpage.hxx 25 Feb 2002 15:43:01 -0000 1.11 +++ svdpage.hxx 6 Nov 2002 17:03:01 -0000 @@ -327,7 +327,7 @@ USHORT GetCount() const { return USHORT(aList.Count()); } void Insert(USHORT nPgNum, USHORT nPos=0xFFFF) { aList.Insert(new SdrMasterPageDescriptor(nPgNum),nPos); } void Insert(const SdrMasterPageDescriptor& rMPD, USHORT nPos=0xFFFF) { aList.Insert(new SdrMasterPageDescriptor(rMPD),nPos); } - void Remove(USHORT nPos) { delete aList.Remove(nPos); } + void Remove(USHORT nPos) { delete (SdrMasterPageDescriptor *)aList.Remove(nPos); } void Move(USHORT nPos, USHORT nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); } SdrMasterPageDescriptor& operator[](USHORT nPos) { return *GetObject(nPos); } const SdrMasterPageDescriptor& operator[](USHORT nPos) const { return *GetObject(nPos); } @@ -361,7 +361,7 @@ void Clear(); USHORT GetCount() const { return USHORT(aList.Count()); } void Insert(const SdrPageGridFrame& rGF, USHORT nPos=0xFFFF) { aList.Insert(new SdrPageGridFrame(rGF),nPos); } - void Delete(USHORT nPos) { delete aList.Remove(nPos); } + void Delete(USHORT nPos) { delete (SdrPageGridFrame *)aList.Remove(nPos); } void Move(USHORT nPos, USHORT nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); } SdrPageGridFrame& operator[](USHORT nPos) { return *GetObject(nPos); } const SdrPageGridFrame& operator[](USHORT nPos) const { return *GetObject(nPos); }