Richard Heck 4b1777d2fa Inset::addToToc() can and should be const. It wasn't, I take it, because
of things like:
  pit.push_back(CursorSlice(*this));
which I've had to change to:
  pit.push_back(CursorSlice(const_cast<InsetCaption &>(*this)));
and similarly in a few other places.

If anyone thinks we should instead have:
  explicit CursorSlice(Inset const &);
then we can also do that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37192 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 22:23:27 +00:00
..
2010-12-04 23:01:59 +00:00
2010-05-10 12:34:34 +00:00
2010-12-14 23:18:48 +00:00
2010-10-21 18:01:06 +00:00
2010-03-31 19:38:05 +00:00
2010-10-31 01:26:50 +00:00
2010-12-20 22:29:41 +00:00
2010-11-18 19:50:29 +00:00
2009-07-14 19:46:17 +00:00