mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
(Herbert): fix compatibility read of InsetFigure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3951 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c42560dbe3
commit
2099c3cc2b
@ -1,3 +1,8 @@
|
||||
2002-04-07 Herbert Voss <voss@perce.de>
|
||||
|
||||
* insetgraphic.C (readFigInset): fix bug with subcaption and
|
||||
rotating
|
||||
|
||||
2002-04-08 Herbert Voss <voss@lyx.org>
|
||||
|
||||
* insetgraphicsparam.C: forgot special option and delete old
|
||||
|
@ -474,14 +474,14 @@ void InsetGraphics::readFigInset(LyXLex & lex)
|
||||
} else if (token == "subcaption") {
|
||||
if (lex.eatLine())
|
||||
params_.subcaptionText = lex.getString();
|
||||
params_.subcaption = true;
|
||||
} else if (token == "label") {
|
||||
if (lex.next());
|
||||
// kept for backwards compability. Delete in 0.13.x
|
||||
} else if (token == "angle") {
|
||||
if (lex.next())
|
||||
if (lex.next()) {
|
||||
params_.rotate = true;
|
||||
params_.rotateAngle = lex.getFloat();
|
||||
}
|
||||
} else if (token == "size") {
|
||||
if (lex.next())
|
||||
params_.lyxwidth = LyXLength(lex.getString()+"pt");
|
||||
|
Loading…
Reference in New Issue
Block a user