On Mon, 2012-01-23 at 11:51 -0500, Kohei Yoshida wrote: > maItems.erase(maItems.end() - 1); Thanking a bit further, maybe changing that to maItems.erase(maItems.begin() + nIndex); should fix the crash? -- Kohei Yoshida, LibreOffice hacker, Calc