changeset 990:36d9fee90159

whitespace
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 09 Mar 2009 22:16:21 +0100
parents 232a777ff3ec
children 49cf18b45335
files src/styleengine.cc src/styleengine.hh
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/styleengine.cc	Mon Mar 09 20:39:48 2009 +0000
+++ b/src/styleengine.cc	Mon Mar 09 22:16:21 2009 +0100
@@ -512,7 +512,7 @@
          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 @@
 }
 
 void StyleEngine::parse (const char *buf, int buflen, CssOrigin origin) {
-
    a_Css_parse (cssContext, buf, buflen, origin);
 }
--- a/src/styleengine.hh	Mon Mar 09 20:39:48 2009 +0000
+++ b/src/styleengine.hh	Mon Mar 09 22:16:21 2009 +0100
@@ -26,8 +26,9 @@
       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 @@
          else
             return style0 ();
       };
+
       inline dw::core::style::Style *wordStyle () {
          dw::core::style::Style *s = stack->getRef (stack->size () - 1)->wordStyle;
          if (s)