From 4036639aa5093caf1c24edad2c36fc14cddd6374 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Thu, 11 Apr 2002 18:40:59 +0000 Subject: [PATCH] (Herbert): nit-picking! git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3977 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 5 +++++ src/insets/insetgraphicsParams.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 7de7363754..ab7ecbee06 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,8 @@ +2002-04-08 Herbert Voss + + * insetgraphic.C (write): write the rotating angle as + a float as is. test only for != 0.0 + 2002-04-11 Juergen Vigna * insettext.C: new function ciy() and use it for setting inset_y. diff --git a/src/insets/insetgraphicsParams.C b/src/insets/insetgraphicsParams.C index 1ebc1d25e5..9cb6ceb70a 100644 --- a/src/insets/insetgraphicsParams.C +++ b/src/insets/insetgraphicsParams.C @@ -198,7 +198,7 @@ void InsetGraphicsParams::Write(ostream & os) const os << "\tkeepAspectRatio\n"; if (rotate) os << "\trotate\n"; - if (!lyx::float_equal(rotateAngle, 0.0, 0.001)) + if (rotateAngle != 0.0) os << "\trotateAngle " << rotateAngle << '\n'; if (!rotateOrigin.empty()) os << "\trotateOrigin " << rotateOrigin << '\n';