aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-09 22:16:21 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-09 22:16:21 +0100
commitcfdca571d1143b1ec9eb63231dfe8a7487b277de (patch)
tree9507f88e14ffe710366683ea4c06b768e78ee774 /src/styleengine.hh
parent289c18102eddc8bcb38d7e620d88617a4a14107d (diff)
whitespace
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 732808fa..dd5e4886 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -26,8 +26,9 @@ class StyleEngine : public Doctree {
void apply (dw::core::style::StyleAttrs *attrs, CssPropertyList *props);
bool computeValue (int *dest, CssLength value, dw::core::style::Font *font);
bool computeValue (int *dest, CssLength value, dw::core::style::Font *font,
- int percentageBase);
- bool computeLength (dw::core::style::Length *dest, CssLength value, dw::core::style::Font *font);
+ int percentageBase);
+ bool computeLength (dw::core::style::Length *dest, CssLength value,
+ dw::core::style::Font *font);
public:
StyleEngine (dw::core::Layout *layout);
@@ -66,6 +67,7 @@ class StyleEngine : public Doctree {
else
return style0 ();
};
+
inline dw::core::style::Style *wordStyle () {
dw::core::style::Style *s = stack->getRef (stack->size () - 1)->wordStyle;
if (s)