From: ishmal Date: Thu, 12 Jun 2008 20:04:38 +0000 (+0000) Subject: Missed two * -> Ptr conversions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a7089d22678cc990d35df718b304eea5d0fdfe8a;p=inkscape.git Missed two * -> Ptr conversions --- diff --git a/src/dom/svgtypes.h b/src/dom/svgtypes.h index 674add792..9b3d1caf6 100644 --- a/src/dom/svgtypes.h +++ b/src/dom/svgtypes.h @@ -78,7 +78,9 @@ typedef dom::NodeList NodeList; class SVGElement; +typedef Ptr SVGElementPtr; class SVGUseElement; +typedef Ptr SVGUseElementPtr; class SVGAnimatedPreserveAspectRatio; @@ -3104,18 +3106,18 @@ public: /** * */ - virtual SVGElement *getNearestViewportElement() + virtual SVGElementPtr getNearestViewportElement() { - SVGElement *result = NULL; + SVGElementPtr result; return result; } /** * */ - virtual SVGElement *getFarthestViewportElement() + virtual SVGElementPtr getFarthestViewportElement() { - SVGElement *result = NULL; + SVGElementPtr result; return result; } @@ -3780,7 +3782,7 @@ public: /** * */ - virtual SVGElement *getViewTarget() + virtual SVGElementPtr getViewTarget() { return viewTarget; } /** @@ -3849,7 +3851,7 @@ public: protected: - SVGElement *viewTarget; + SVGElementPtr viewTarget; SVGTransformList transform; }; @@ -6707,13 +6709,13 @@ public: /** * */ - virtual SVGElement *getCorrespondingElement() + virtual SVGElementPtr getCorrespondingElement() { return correspondingElement; } /** * */ - virtual SVGUseElement *getCorrespondingUseElement() + virtual SVGUseElementPtr getCorrespondingUseElement() { return correspondingUseElement; } /** @@ -6793,8 +6795,8 @@ public: protected: - SVGElement *correspondingElement; - SVGUseElement *correspondingUseElement; + SVGElementPtr correspondingElement; + SVGUseElementPtr correspondingUseElement; };