Herbert Voss <[EMAIL PROTECTED]> writes: | +2002-03-28 Herbert Voss <[EMAIL PROTECTED]> | + | + * lyxlength.C: compatibility stuff for < 1.1.6fix4 and | + "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ... | +
You have to mark this somehow in the code so that we can easily delete in when 1.2CVS starts up. | +// compatibility stuff < version 1.2.0pre and for | +// "old" 1.2.0 files before the pre | +namespace { | - if (!isValidLength (data, &tmp)) | +// if (!isValidLength (data, &tmp)) | + // only compatibilty stuff - can be deleted until 1.3 | + if (!isValidLength (convertOldRelLength(data), &tmp)) | return; // should raise an exception some ifdef stuff, f.ex. reuse the NO_COMPABILITY define. -- Lgb