Abdelrazak Younes wrote:
Pavel Sanda wrote:
hi,
file->open, choose file (with current trunk) and got Assertion
triggered in bool lyx::TextClass::read(const lyx::support::FileName&,
lyx::TextClass::ReadType) by failing check "false" in file
TextClass.cpp:247
OK, my fault, for my defense the bool returned by readStyle() is
misleading!
Richard, a function should return true for success and false otherwise.
I fully agree, but I didn't implement that bit. For what it's worth, I
made the same mistake you did once.
I saw you FIXMEd read() as well. That shouldn't be too terribly hard to fix.
rh