diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-05 19:23:33 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-05 19:23:33 +0100 |
commit | 1326c5a9c7d5a7449c85c26cc286936f15cde3c1 (patch) | |
tree | 1cdf1c2276bd20bcdbd5abc08b2c63b152854e7e /src/css.cc | |
parent | 4eb1e41793ec65d83bb41f58388edee610e3db8e (diff) |
move CssProperty::Name and CssProperty::Value out of CssProperty class
Diffstat (limited to 'src/css.cc')
-rw-r--r-- | src/css.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ CssPropertyList::~CssPropertyList () { getRef (i)->free (); } -void CssPropertyList::set (CssProperty::Name name, CssProperty::Value value) { +void CssPropertyList::set (CssPropertyName name, CssPropertyValue value) { for (int i = 0; i < size (); i++) if (getRef (i)->name == name) { if (ownerOfStrings) @@ -46,7 +46,7 @@ void CssPropertyList::set (CssProperty::Name name, CssProperty::Value value) { void CssPropertyList::apply (CssPropertyList *props) { for (int i = 0; i < size (); i++) - props->set ((CssProperty::Name) getRef (i)->name, getRef (i)->value); + props->set ((CssPropertyName) getRef (i)->name, getRef (i)->value); } void CssPropertyList::print () { |