aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/css.hh b/src/css.hh
index 94a57cf0..394f7add 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -439,15 +439,11 @@ class CssStyleSheet {
};
static const int ntags = 90; // \todo replace 90
- RuleList *elementTable[ntags];
- RuleMap *idTable;
- RuleMap *classTable;
- RuleList *anyTable;
+ RuleList elementTable[ntags], anyTable;
+ RuleMap idTable, classTable;
public:
- CssStyleSheet();
- ~CssStyleSheet();
void addRule (CssRule *rule);
void apply (CssPropertyList *props,
Doctree *docTree, const DoctreeNode *node);