From c94eb3deeb4529de2b0ab1345b839b9a8427bb68 Mon Sep 17 00:00:00 2001 From: Alfredo Braunstein Date: Fri, 31 Aug 2007 20:24:15 +0000 Subject: [PATCH] cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19959 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetCollapsable.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index 4ae1d7a158..85b7e10510 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -175,7 +175,7 @@ bool InsetCollapsable::metrics(MetricsInfo & mi, Dimension & dim) const using std::max; autoOpen_ = mi.base.bv->cursor().isInside(this); - mi.base.textwidth -= (int) (1.5 * TEXT_TO_INSET_OFFSET); + mi.base.textwidth -= int(1.5 * TEXT_TO_INSET_OFFSET); switch (geometry()) { case NoButton: @@ -234,8 +234,8 @@ bool InsetCollapsable::metrics(MetricsInfo & mi, Dimension & dim) const } dim.asc += TEXT_TO_INSET_OFFSET; dim.des += TEXT_TO_INSET_OFFSET; - dim.wid += (int) (1.5 * TEXT_TO_INSET_OFFSET); - mi.base.textwidth += (int) (1.5 * TEXT_TO_INSET_OFFSET); + dim.wid += int(1.5 * TEXT_TO_INSET_OFFSET); + mi.base.textwidth += int(1.5 * TEXT_TO_INSET_OFFSET); bool const changed = dim_ != dim; dim_ = dim; return changed;