Index: fp_Line.cpp =================================================================== RCS file: /cvsroot/abi/src/text/fmt/xp/fp_Line.cpp,v retrieving revision 1.316 diff -u -r1.316 fp_Line.cpp --- fp_Line.cpp 2 Nov 2004 23:26:07 -0000 1.316 +++ fp_Line.cpp 6 Nov 2004 14:11:10 -0000 @@ -575,6 +575,10 @@ xxx_UT_DEBUGMSG(("Removing line %x from container \n",this)); static_cast(getContainer())->removeContainer(this); } +#ifdef USE_STATIC_MAP + if (s_pMapOwner == this) + s_pMapOwner = NULL; +#endif } void fp_Line::mapXYToPosition(UT_sint32 x, UT_sint32 y, PT_DocPosition& pos,