aboutsummaryrefslogtreecommitdiff
path: root/dw/oofawarewidget.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-01-08 21:43:07 +0100
committerSebastian Geerken <devnull@localhost>2016-01-08 21:43:07 +0100
commitc714e1a14e82a7b45195f3d37c9edb2cb82c7107 (patch)
tree608e2391d982d83f4e83736458bb98ab45767729 /dw/oofawarewidget.cc
parent5b4c1c97d32e60e66ff02d2733a1995c3c3cfb8a (diff)
Rename OOFAwareWidget::isPossibleContainer to isPossibleOOFContainer (clang warning).
Diffstat (limited to 'dw/oofawarewidget.cc')
-rw-r--r--dw/oofawarewidget.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dw/oofawarewidget.cc b/dw/oofawarewidget.cc
index a90fbfb9..3d480535 100644
--- a/dw/oofawarewidget.cc
+++ b/dw/oofawarewidget.cc
@@ -134,7 +134,7 @@ bool OOFAwareWidget::isOOFContainer (Widget *widget, int oofmIndex)
return widget->instanceOf (OOFAwareWidget::CLASS_ID) &&
(// For floats, only some OOF aware widgets are considered as
// containers.
- ((OOFAwareWidget*)widget)->isPossibleContainer (OOFM_FLOATS) &&
+ ((OOFAwareWidget*)widget)->isPossibleOOFContainer (OOFM_FLOATS) &&
// The second condition: that this block is "out of flow", in a
// wider sense.
(// The toplevel widget is "out of flow", since there is no
@@ -147,7 +147,7 @@ bool OOFAwareWidget::isOOFContainer (Widget *widget, int oofmIndex)
// container parent).
!(widget->getParent()->instanceOf (OOFAwareWidget::CLASS_ID) &&
((OOFAwareWidget*)widget->getParent())
- ->isPossibleContainerParent (OOFM_FLOATS)) ||
+ ->isPossibleOOFContainerParent (OOFM_FLOATS)) ||
// Inline blocks are containing blocks, too.
widget->getStyle()->display == DISPLAY_INLINE_BLOCK ||
// Same for blocks with 'overview' set to another value than
@@ -597,12 +597,12 @@ bool OOFAwareWidget::usesMaxGeneratorWidth ()
return false;
}
-bool OOFAwareWidget::isPossibleContainer (int oofmIndex)
+bool OOFAwareWidget::isPossibleOOFContainer (int oofmIndex)
{
return oofmIndex != OOFM_FLOATS;
}
-bool OOFAwareWidget::isPossibleContainerParent (int oofmIndex)
+bool OOFAwareWidget::isPossibleOOFContainerParent (int oofmIndex)
{
return oofmIndex != OOFM_FLOATS;
}