aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-11 21:35:53 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-11 21:35:53 +0200
commit1200c9668c531f0f6e97bc14faecfadc0c12fdcf (patch)
treee17985c020c8327bb96faeb607638ec1c70225a4 /src/css.hh
parent39c2aa181193c4f28118cbdcf54ae9a778460334 (diff)
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.
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh10
1 files changed, 0 insertions, 10 deletions
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 <CssProperty> {
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++; }