summaryrefslogtreecommitdiff
path: root/dw/outofflowmgr.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-05-12 14:22:19 +0200
committerSebastian Geerken <devnull@localhost>2014-05-12 14:22:19 +0200
commit05b4c17fe4a3582ec153db6c82f3acdddbaf18a6 (patch)
tree68e8888a415b58589a670d48dadd8e7c7f138f47 /dw/outofflowmgr.cc
parent06b697d3596a99388ee6b26d7540432b76fcc87d (diff)
Eliminated compiler warning.
Diffstat (limited to 'dw/outofflowmgr.cc')
-rw-r--r--dw/outofflowmgr.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/dw/outofflowmgr.cc b/dw/outofflowmgr.cc
index f504e216..cea98974 100644
--- a/dw/outofflowmgr.cc
+++ b/dw/outofflowmgr.cc
@@ -2032,14 +2032,14 @@ int OutOfFlowMgr::getClearPosition (Textblock *tb, Side side)
void OutOfFlowMgr::ensureFloatSize (Float *vloat)
{
if (vloat->dirty ||
- vloat->cbAvailWidth != containingBlock->getAvailWidth () &&
- (// If the size of the containing block has changed (represented
- // currently by the available width), a recalculation of a relative
- // float width may also be necessary.
- isPerLength (vloat->getWidget()->getStyle()->width) ||
- // Similar for "auto" widths of textblocks etc.
- (vloat->getWidget()->usesHints () &&
- vloat->getWidget()->getStyle()->width == LENGTH_AUTO))) {
+ (vloat->cbAvailWidth != containingBlock->getAvailWidth () &&
+ (// If the size of the containing block has changed (represented
+ // currently by the available width), a recalculation of a relative
+ // float width may also be necessary.
+ isPerLength (vloat->getWidget()->getStyle()->width) ||
+ // Similar for "auto" widths of textblocks etc.
+ (vloat->getWidget()->usesHints () &&
+ vloat->getWidget()->getStyle()->width == LENGTH_AUTO)))) {
DBG_OBJ_MSGF ("resize.oofm", 0,
"<b>ensureFloatSize</b> (%p): recalculation",
vloat->getWidget ());