summaryrefslogtreecommitdiffstats
path: root/src/sp-pattern.h
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-02-25 06:48:54 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-02-25 06:48:54 +0000
commit235e0557710fbd010aeb0db31ab719cc142885ae (patch)
treef847bf164cd6d5e9a6dedc96d39406fc0b428c83 /src/sp-pattern.h
parentavoid some Shape calculations that are not relevant to visual bbox (Bug 906952) (diff)
downloadinkscape-235e0557710fbd010aeb0db31ab719cc142885ae.tar.gz
inkscape-235e0557710fbd010aeb0db31ab719cc142885ae.zip
(cppcheck and janitorial tasks:) C-style casting to C++-style casting
(bzr r11011)
Diffstat (limited to 'src/sp-pattern.h')
-rw-r--r--src/sp-pattern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-pattern.h b/src/sp-pattern.h
index cb6d1dbf0..debce86fb 100644
--- a/src/sp-pattern.h
+++ b/src/sp-pattern.h
@@ -39,7 +39,7 @@ class SPPatternReference : public Inkscape::URIReference {
public:
SPPatternReference (SPObject *obj) : URIReference(obj) {}
SPPattern *getObject() const {
- return (SPPattern *)URIReference::getObject();
+ return reinterpret_cast<SPPattern *>(URIReference::getObject());
}
protected: