changeset 822:dcc02e0ea5f7

use ConstString in CssStyleSheet::apply()
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 26 Jan 2009 13:46:31 +0100
parents ee20d532f529
children 8fbeea67aa2b
files src/css.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Mon Jan 26 09:29:18 2009 +0100
+++ b/src/css.cc	Mon Jan 26 13:46:31 2009 +0100
@@ -263,13 +263,13 @@
    RuleList *ruleList[4] = {NULL, NULL, NULL, NULL};
    
    if (node->id) {
-      lout::object::String idString (node->id);
+      lout::object::ConstString idString (node->id);
 
       ruleList[3] = idTable->get (&idString);
    }
 
    if (node->klass) {
-      lout::object::String classString (node->klass);
+      lout::object::ConstString classString (node->klass);
 
       ruleList[2] = classTable->get (&classString);
    }