(Herbert): small read graphics inset bug fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4133 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-05-07 10:02:02 +00:00
parent 93828a784d
commit d1899a14fc
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-05-04 Herbert Voss <voss@perce.de>
* InsetgraphicsParams.C (read): fix bug with WH
2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
* insetfloat.C (latex): More sensible latex output

View File

@ -256,11 +256,9 @@ bool InsetGraphicsParams::Read(LyXLex & lex, string const& token)
} else if (token == "width") {
lex.next();
width = LyXLength(lex.getString());
size_type = WH;
} else if (token == "height") {
lex.next();
height = LyXLength(lex.getString());
size_type = WH;
} else if (token == "keepAspectRatio") {
keepAspectRatio = true;
} else if (token == "scale") {