From 1200c9668c531f0f6e97bc14faecfadc0c12fdcf Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 11 Oct 2010 21:35:53 +0200 Subject: rework nonCssHints API of StyleEngine * Instead of passing the nonCssHints as a CssPropertyList, set the hints separately and create the list in StyleEngine. * The CssPropertyList holding the nonCssHints is now completely managed by StyleEngine and kept on the stack. * Replace the table_cell_props mechanic in html.cc/table.cc with a new method inheritNonCssHints() in StyleEngine. --- src/css.hh | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/css.hh') diff --git a/src/css.hh b/src/css.hh index 2e9dd2b5..9922dd65 100644 --- a/src/css.hh +++ b/src/css.hh @@ -313,16 +313,6 @@ class CssPropertyList : public lout::misc::SimpleVector { void set (CssPropertyName name, CssValueType type, CssPropertyValue value); - inline void set (CssPropertyName name, CssValueType type, char *value) { - CssPropertyValue v; - v.strVal = value; - set (name, type, v); - }; - inline void set (CssPropertyName name, CssValueType type, int value) { - CssPropertyValue v; - v.intVal = value; - set (name, type, v); - }; void apply (CssPropertyList *props); void print (); inline void ref () { refCount++; } -- cgit v1.2.3