diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-08 17:32:21 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-08 17:32:21 +0100 |
commit | 3da3f1077c994fdd4730c735aa11853acef3b74e (patch) | |
tree | 73610d2fc04ebbc9cb86bcdcfd144d5c6a6bbf78 /src/css.hh | |
parent | dc012030ac53bfc77f2c03af8d4e672d4cb5ef05 (diff) |
convert Html_tag_open_font()
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ class CssProperty { public: typedef union { int intVal; - char *strVal; + const char *strVal; } Value; typedef enum { @@ -123,7 +123,7 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> { static CssPropertyList *parse (const char *buf); void set (CssProperty::Name name, CssProperty::Value value); - void set (CssProperty::Name name, char *value) { + void set (CssProperty::Name name, const char *value) { CssProperty::Value v; v.strVal = value; set (name, v); |