summaryrefslogtreecommitdiffstats
path: root/src/dom/css.h
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-01-23 18:45:08 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-01-23 18:45:08 +0000
commit4d368c0ed0441dfd9e0cda7fa1c0f370180fa4ae (patch)
treeacea66c8bca4772a4d23a508cbab679bb678616f /src/dom/css.h
parentClean up more GObject type definitions (diff)
downloadinkscape-4d368c0ed0441dfd9e0cda7fa1c0f370180fa4ae.tar.gz
inkscape-4d368c0ed0441dfd9e0cda7fa1c0f370180fa4ae.zip
cppcheck: style and performance
(bzr r12056)
Diffstat (limited to 'src/dom/css.h')
-rw-r--r--src/dom/css.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/dom/css.h b/src/dom/css.h
index 2776b6d20..f270b99eb 100644
--- a/src/dom/css.h
+++ b/src/dom/css.h
@@ -269,8 +269,8 @@ public:
*
*/
CSSRuleList(const CSSRuleList &other)
+ : rules (other.rules)
{
- rules = other.rules;
}
/**
@@ -1012,9 +1012,10 @@ public:
/**
*
*/
- CSSFontFaceRule(const CSSFontFaceRule &other) : CSSRule(other)
+ CSSFontFaceRule(const CSSFontFaceRule &other)
+ : CSSRule(other),
+ style (other.style)
{
- style = other.style;
}
/**
@@ -1433,9 +1434,10 @@ public:
/**
*
*/
- CSSValueList(const CSSValueList &other) : CSSValue(other)
+ CSSValueList(const CSSValueList &other)
+ : CSSValue(other),
+ items (other.items)
{
- items = other.items;
}
/**
@@ -2014,8 +2016,8 @@ public:
*
*/
ElementCSSInlineStyle(const ElementCSSInlineStyle &other)
+ : style (other.style)
{
- style = other.style;
}
/**