Uwe StĂśhr wrote: > commit 22ad7e436991c0c4882d2ced5900d8bd4badc29c > Author: Uwe StĂśhr <uwesto...@lyx.org> > Date: Fri Mar 22 01:33:58 2013 +0100 > > support for \mbox and \fbox > > - fileformat change > - it was a pity that LyX did not yet support a simple rectangular frame > without a defined width but LyX did this for e.g. oval frames > - \fbox and \mbox often occur in TeX files and can now be imported > > + // "-999col%" is the code for no width > + if ((params.width).asString() == "-999col%") > + widthCB->setCheckState(Qt::Unchecked); ... > + // use the code "-999col%" for the case that no width > was selected > + params.special = "none"; > + params.width = Length("-999col%");
Ouch. What are you trying to do here? special=="none" is no more enough? Why don't you use some bool variable in params or specific LENGTH:: constant? Pavel