From cfdca571d1143b1ec9eb63231dfe8a7487b277de Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 9 Mar 2009 22:16:21 +0100 Subject: whitespace --- src/styleengine.cc | 3 +-- src/styleengine.hh | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/styleengine.cc b/src/styleengine.cc index 35e37543..e05630bd 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -512,7 +512,7 @@ Style * StyleEngine::style0 (CssPropertyList *nonCssProperties) { stack->getRef (stack->size () - 2)->style->backgroundColor; attrs.valign = stack->getRef (stack->size () - 2)->style->valign; - } + } // parse style information from style="" attribute, if it exists if (styleAttribute && prefs.parse_embedded_css) @@ -547,6 +547,5 @@ Style * StyleEngine::wordStyle0 (CssPropertyList *nonCssProperties) { } void StyleEngine::parse (const char *buf, int buflen, CssOrigin origin) { - a_Css_parse (cssContext, buf, buflen, origin); } 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) -- cgit v1.2.3