diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-15 21:15:08 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-15 21:15:08 +0100 |
commit | f68785a65aed9ce40d9aec5fbf7f9cec3af1b384 (patch) | |
tree | e5a0fe1d6924adde42d48d4fd96689d0de4cea82 /src/styleengine.cc | |
parent | 39803b40143e5bc3e4d842def88f54e255a5290d (diff) |
replace a_Css_parse(), a_Css_parse_declaration() with static methods
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index bc13e36a..51e304e9 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -523,7 +523,8 @@ Style * StyleEngine::style0 (CssPropertyList *nonCssProperties) { // parse style information from style="" attribute, if it exists if (styleAttribute && prefs.parse_embedded_css) styleAttributeProps = - a_Css_parse_declaration (styleAttribute, strlen (styleAttribute)); + CssParser::parseDeclarationBlock (styleAttribute, + strlen (styleAttribute)); // merge style information cssContext->apply (&props, this, styleAttributeProps, nonCssProperties); @@ -553,5 +554,5 @@ Style * StyleEngine::wordStyle0 (CssPropertyList *nonCssProperties) { } void StyleEngine::parse (const char *buf, int buflen, CssOrigin origin) { - a_Css_parse (cssContext, buf, buflen, origin); + CssParser::parse (cssContext, buf, buflen, origin); } |