summaryrefslogtreecommitdiffstats
path: root/src/marker.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/marker.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/marker.h')
-rw-r--r--src/marker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/marker.h b/src/marker.h
index eb907e2fb..6fdb82aa3 100644
--- a/src/marker.h
+++ b/src/marker.h
@@ -76,7 +76,7 @@ GType sp_marker_get_type (void);
class SPMarkerReference : public Inkscape::URIReference {
SPMarkerReference(SPObject *obj) : URIReference(obj) {}
SPMarker *getObject() const {
- return (SPMarker *)URIReference::getObject();
+ return static_cast<SPMarker *>(URIReference::getObject());
}
protected:
virtual bool _acceptObject(SPObject *obj) const {