Lines 196-215
Link Here
|
196 |
|
196 |
|
197 |
void PolyPolygon::Remove( sal_uInt16 nPos ) |
197 |
void PolyPolygon::Remove( sal_uInt16 nPos ) |
198 |
{ |
198 |
{ |
199 |
DBG_CHKTHIS( PolyPolygon, NULL ); |
199 |
DBG_CHKTHIS( PolyPolygon, NULL ); |
200 |
DBG_ASSERT( nPos < Count(), "PolyPolygon::Remove(): nPos >= nSize" ); |
200 |
DBG_ASSERT( nPos < Count(), "PolyPolygon::Remove(): nPos >= nSize" ); |
|
|
201 |
if ( nPos >= Count() ) return; // not removable |
201 |
|
202 |
|
202 |
|
203 |
|
203 |
// ----------------------------------------------------------------------- |
204 |
// ----------------------------------------------------------------------- |
Lines 216-232
Link Here
|
216 |
|
217 |
|
217 |
void PolyPolygon::Replace( const Polygon& rPoly, sal_uInt16 nPos ) |
218 |
void PolyPolygon::Replace( const Polygon& rPoly, sal_uInt16 nPos ) |
218 |
{ |
219 |
{ |
219 |
DBG_CHKTHIS( PolyPolygon, NULL ); |
220 |
DBG_CHKTHIS( PolyPolygon, NULL ); |
220 |
DBG_ASSERT( nPos < Count(), "PolyPolygon::Replace(): nPos >= nSize" ); |
221 |
DBG_ASSERT( nPos < Count(), "PolyPolygon::Replace(): nPos >= nSize" ); |
|
|
222 |
if ( nPos >= Count() ) return; // not replaceable |
221 |
|
223 |
|
222 |
|
224 |
|
223 |
// eof |
225 |
// eof |