Juergen Vigna <[EMAIL PROTECTED]> writes:
| On 18-Oct-2000 John Levon wrote:
| >
| > Try loading up TableExamples.lyx, and do ascii export,
| > or try and cut the first table - it will not be happy.
| >
|
| I fixed this again, but the one who changed some types in LyXTabular::Ascii
| should have red ears to not try out the changes he did!
That migt very well be me, but you still have a problem with types in
that function.
int len = int(sstr.str().length())
should be
size_t len = sstr.str().length();
Those casts should always be avoided, and if you have them in the code
something is wrong. The only times when a cast really should be
needed is when interfacing to other code (libc, casting from pointers
etc)
And I really don't like how variables are declared at the top and used
inside separate blocks (ref. int cell)
Lgb