diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-12-09 18:48:47 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-12-09 18:48:47 +0100 |
commit | 4dca98aacfef91d9cad0f25fd161d84be71d24b1 (patch) | |
tree | ed0c3725926171fe847d0fdd56eb9399be9ea677 /src/styleengine.hh | |
parent | 590b7605d413d89ffce2d98c4595d9262582be03 (diff) |
use CssLength type
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r-- | src/styleengine.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh index 8257c994..ff6c53aa 100644 --- a/src/styleengine.hh +++ b/src/styleengine.hh @@ -24,6 +24,7 @@ class StyleEngine : public Doctree { dw::core::style::Style *wordStyle0 (CssPropertyList *nonCssHints = NULL); void apply (dw::core::style::StyleAttrs *attrs, CssPropertyList *props); int computeValue (CssLength value, dw::core::style::Font *font); + dw::core::style::Length computeLength (CssLength value, dw::core::style::Font *font); public: StyleEngine (dw::core::Layout *layout); |