summaryrefslogtreecommitdiff
path: root/dw/outofflowmgr.cc
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-08-10 00:00:47 +0000
committercorvid <devnull@localhost>2014-08-10 00:00:47 +0000
commitc43632b2a5b26a96b84e7d7cd8c5f8ecffe4aa32 (patch)
treeb5f1fce42eebbb7f574970f397719aaac8b5f027 /dw/outofflowmgr.cc
parent80e8bbb92e7425f4fec454348e0823039a07fac0 (diff)
trim spaces
...now that floats and grows are in the repo and I won't be making Sebastian's life difficult with a bunch of whitespace changes.
Diffstat (limited to 'dw/outofflowmgr.cc')
-rw-r--r--dw/outofflowmgr.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/dw/outofflowmgr.cc b/dw/outofflowmgr.cc
index a924d107..072d6a65 100644
--- a/dw/outofflowmgr.cc
+++ b/dw/outofflowmgr.cc
@@ -912,7 +912,7 @@ bool OutOfFlowMgr::doFloatsExceedCB (Side side)
// allocated at a different size.)
core::Requisition cbReq;
containingBlock->sizeRequest (&cbReq);
-
+
SortedFloatsVector *list = side == LEFT ? leftFloatsCB : rightFloatsCB;
bool exceeds = false;
@@ -1110,7 +1110,7 @@ int OutOfFlowMgr::calcFloatX (Float *vloat, Side side, int gbX, int gbWidth,
DBG_OBJ_MSGF ("resize.common", 1,
"corrected to: max (0, %d - %d) = %d",
containingBlock->getLineBreakWidth (), vloat->size.width,
- x);
+ x);
}
break;
@@ -1180,7 +1180,7 @@ void OutOfFlowMgr::drawAbsolutelyPositioned (View *view, Rectangle *area)
* leads sometimes to a cleaner rendering.
*/
bool OutOfFlowMgr::isWidgetOutOfFlow (Widget *widget)
-{
+{
// This is only half-baked, will perhaps be reactivated:
//
//return
@@ -1500,7 +1500,7 @@ void OutOfFlowMgr::tellFloatPosition (Widget *widget, int yReq)
// horizontal dimensions (because #f2 and #f3 are too
// narrow). However, a collision has to be tested with #f1;
// otherwise #f3 and #f1 would overlap.
-
+
int oppFloatIndex =
listOpp->findLastBeforeSideSpanningIndex (vloat->sideSpanningIndex);
// Generally, the rules are simple: loop as long as the vertical
@@ -1607,7 +1607,7 @@ bool OutOfFlowMgr::collidesH (Float *vloat, Float *other, SFVType type)
else {
assert (wasAllocated (vloat->generatingBlock));
assert (wasAllocated (other->generatingBlock));
-
+
// Again, if the other float is not allocated, there is no
// collision. Compare to collidesV. (But vloat->size is used
// here.)
@@ -1621,7 +1621,7 @@ bool OutOfFlowMgr::collidesH (Float *vloat, Float *other, SFVType type)
LEFT : RIGHT,
gba->x, gba->width,
vloat->generatingBlock->getLineBreakWidth ());
-
+
// Generally: right border of the left float > left border of
// the right float (all in canvas coordinates).
if (vloat->getWidget()->getStyle()->vloat == FLOAT_LEFT)
@@ -2178,7 +2178,7 @@ void OutOfFlowMgr::ensureFloatSize (Float *vloat)
// "sizeChangedSinceLastAllocation" is reset in sizeAllocateEnd()
}
-
+
DBG_OBJ_LEAVE ();
}