Re: wirte_attribute and template using

2002-02-22 Thread Juergen Vigna
On 22-Feb-2002 John Levon wrote: > You can even work out what's going with undo/redo if you like ... I didn't hit that particulary spot in the list yet, when I'm there I'll try to do something about it. Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. J

Re: wirte_attribute and template using

2002-02-22 Thread John Levon
On Fri, Feb 22, 2002 at 03:58:34PM +0100, Juergen Vigna wrote: > As you see I try to shorten the list on lyxbugs a bit. yeah you're going great guns keep it up !! You can even work out what's going with undo/redo if you like ... john -- "Oh dear, more knobs." - David Chase

Re: wirte_attribute and template using

2002-02-22 Thread Juergen Vigna
On 22-Feb-2002 Lars Gullik Bjønnes wrote: > Ok, please should me one place in the code where the second argument > to write_attribute is bool. > > I couln't find any... > > After I changed: > > write_attribute("rotate", tostr(rotate)) > > to > > write_attribute("rotate", rotate) > > the bo

RE: wirte_attribute and template using

2002-02-22 Thread Juergen Vigna
> Now I would assume that write_attribure(string, bool) would call the second > function, but it seems this is not true :(. I debugged this with gdb and ONLY > the first one (the template one) is called. I still need a fix for this problem otherwise forget about fixing the file format bloat (#21

Re: wirte_attribute and template using

2002-02-20 Thread Juergen Vigna
On 20-Feb-2002 Lars Gullik Bjønnes wrote: > That was strange... it really shouldn't. > > what if you change it to: > > template<> > string const write_attribute(string const & name, bool b); In file included from tabular.C:37: tabular_funcs.h:35: template-id `write_attribute<>' for `write_at

wirte_attribute and template using

2002-02-20 Thread Juergen Vigna
We have this in tabular_funcs.h: > template > string const write_attribute(string const & name, T const & t) > { > string str = " " + name + "=\"" + tostr(t) + "\""; > return str; > } > template<> > string const write_attribute(string const & name, bool const & b); > template<> >