From 1326c5a9c7d5a7449c85c26cc286936f15cde3c1 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 5 Feb 2009 19:23:33 +0100 Subject: move CssProperty::Name and CssProperty::Value out of CssProperty class --- src/css.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/css.cc') diff --git a/src/css.cc b/src/css.cc index 8ec1f0d8..3a3c8ccf 100644 --- a/src/css.cc +++ b/src/css.cc @@ -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 () { -- cgit v1.2.3