aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-11-21 21:58:27 +0100
committerSebastian Geerken <devnull@localhost>2014-11-21 21:58:27 +0100
commit5d1472c4d56614e2a99b838e35bb893d3e6b67d4 (patch)
tree95a9101c8875254d44f3ceaa9ca123a402acdf9d /dw/textblock.hh
parentc8d70be980c0ff809e204db089d30aa06c2d06ca (diff)
No BREAKs anymore around a float.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r--dw/textblock.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh
index 7dbb9d52..4bc74669 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -616,7 +616,7 @@ protected:
lout::misc::NotSoSimpleVector <Word> *words;
lout::misc::SimpleVector <Anchor> *anchors;
- struct {int index, nChar;}
+ struct { int index, nChar; }
hlStart[core::HIGHLIGHT_NUM_LAYERS], hlEnd[core::HIGHLIGHT_NUM_LAYERS];
int hoverLink; /* The link under the mouse pointer */
@@ -873,9 +873,9 @@ public:
void addText (const char *text, size_t len, core::style::Style *style);
inline void addText (const char *text, core::style::Style *style)
- {
- addText (text, strlen(text), style);
- }
+ { addText (text, strlen(text), style); }
+ static bool isStyleOutOfFlow (core::style::Style *style)
+ { return OutOfFlowMgr::isStyleOutOfFlow (style); }
void addWidget (core::Widget *widget, core::style::Style *style);
bool addAnchor (const char *name, core::style::Style *style);
void addSpace (core::style::Style *style);