From d1899a14fcd8dc94cf0410075edac7a4bc8749fd Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Tue, 7 May 2002 10:02:02 +0000 Subject: [PATCH] (Herbert): small read graphics inset bug fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4133 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 4 ++++ src/insets/insetgraphicsParams.C | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 889a0a0a39..76acb6f949 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2002-05-04 Herbert Voss + + * InsetgraphicsParams.C (read): fix bug with WH + 2002-05-05 Dekel Tsur * insetfloat.C (latex): More sensible latex output diff --git a/src/insets/insetgraphicsParams.C b/src/insets/insetgraphicsParams.C index b0af38e413..e402934d0e 100644 --- a/src/insets/insetgraphicsParams.C +++ b/src/insets/insetgraphicsParams.C @@ -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") { -- 2.39.2