aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-30 09:52:16 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-30 09:52:16 +0100
commitff3cb33f38abcf4cd15c22c0e3a32659cd723d39 (patch)
tree443bcb1dfbc109b44e3409d88e47dfbad795941a
parent0fb479081c3aae9b01ffed1589dab6544f372ae0 (diff)
remove unused method
-rw-r--r--src/css.cc5
-rw-r--r--src/css.hh1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/css.cc b/src/css.cc
index a486e834..f991c051 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -262,11 +262,6 @@ void CssStyleSheet::addRule (CssRule *rule) {
}
}
-void CssStyleSheet::addRule (CssSelector *selector, CssPropertyList *props) {
- CssRule *rule = new CssRule (selector, props);
- addRule (rule);
-}
-
void CssStyleSheet::apply (CssPropertyList *props,
Doctree *docTree, const DoctreeNode *node) {
RuleList *ruleList[4] = {NULL, NULL, NULL, NULL};
diff --git a/src/css.hh b/src/css.hh
index 63a00ffc..18a6016f 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -318,7 +318,6 @@ class CssStyleSheet {
CssStyleSheet();
~CssStyleSheet();
void addRule (CssRule *rule);
- void addRule (CssSelector *selector, CssPropertyList *props);
void apply (CssPropertyList *props,
Doctree *docTree, const DoctreeNode *node);
};