Re: [patch] remove const casts

2004-05-23 Thread Andre Poenitz
On Sat, May 15, 2004 at 07:14:01PM +0200, Georg Baum wrote: > Some time ago when lyx was crashing every second I played a bit with > const_casts. The attached patch exchanges some of them with the use of > const_iterators. It makes also Paragraph::simpleTeXOnePar const. > > Furthermore I think t

Re: [patch] remove const casts

2004-05-17 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | diff -p -r -U 4 -X excl.tmp lyx-1.4-clean/src/ChangeLog lyx-1.4-cvs/src/ChangeLog | --- lyx-1.4-clean/src/ChangeLog 2004-05-14 19:53:10.0 +0200 | +++ lyx-1.4-cvs/src/ChangeLog 2004-05-15 12:03:44.0 +0200 | @@ -1,4 +1,18 @@ | +2004-05-1

Re: [patch] remove const casts

2004-05-17 Thread Angus Leeming
Georg Baum wrote: > Some time ago when lyx was crashing every second I played a bit with > const_casts. The attached patch exchanges some of them with the use > of const_iterators. It makes also Paragraph::simpleTeXOnePar const. That's great. One of the advantages of moving to the use of an stl c

[patch] remove const casts

2004-05-15 Thread Georg Baum
Some time ago when lyx was crashing every second I played a bit with const_casts. The attached patch exchanges some of them with the use of const_iterators. It makes also Paragraph::simpleTeXOnePar const. Furthermore I think that this line in Paragraph::startTeXParParams should be a "+=" instea