summaryrefslogtreecommitdiffstats
path: root/src/dom/svg/svgimpl.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-09-05 16:00:09 +0000
committerishmal <ishmal@users.sourceforge.net>2006-09-05 16:00:09 +0000
commit1cf78b0381215b4af2f502a5234812e13e12c43f (patch)
treef14e09446e478143f9562a331eaa82e7efd6c1f4 /src/dom/svg/svgimpl.cpp
parentcomments for later (diff)
downloadinkscape-1cf78b0381215b4af2f502a5234812e13e12c43f.tar.gz
inkscape-1cf78b0381215b4af2f502a5234812e13e12c43f.zip
Massive update for smart pointers. Rework js dom binding to be smarter. Placeholder for dom binding, finish later.
(bzr r1692)
Diffstat (limited to 'src/dom/svg/svgimpl.cpp')
-rw-r--r--src/dom/svg/svgimpl.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/dom/svg/svgimpl.cpp b/src/dom/svg/svgimpl.cpp
index 25406b4fd..03d42e515 100644
--- a/src/dom/svg/svgimpl.cpp
+++ b/src/dom/svg/svgimpl.cpp
@@ -67,22 +67,22 @@ namespace svg
/**
*
*/
-Element *SVGDocumentImpl::createElement(const DOMString& tagName)
+ElementPtr SVGDocumentImpl::createElement(const DOMString& tagName)
throw(DOMException)
{
- SVGElementImpl *impl = new SVGElementImpl(this, tagName);
- return impl;
+ SVGElementPtr elem = new SVGElementImpl(this, tagName);
+ return elem;
}
/**
*
*/
-Element *SVGDocumentImpl::createElementNS(const DOMString& namespaceURI,
+ElementPtr SVGDocumentImpl::createElementNS(const DOMString& namespaceURI,
const DOMString& qualifiedName)
throw(DOMException)
{
- SVGElementImpl *elem = new SVGElementImpl(this, namespaceURI, qualifiedName);
+ SVGElementPtr elem = new SVGElementImpl(this, namespaceURI, qualifiedName);
return elem;
}
@@ -161,7 +161,7 @@ bool SVGSVGElementImpl::animationsPaused( )
*
*/
NodeList SVGSVGElementImpl::getIntersectionList(const SVGRect &rect,
- const SVGElement *referenceElement )
+ const SVGElementPtr referenceElement )
{
NodeList list;
return list;
@@ -171,7 +171,7 @@ NodeList SVGSVGElementImpl::getIntersectionList(const SVGRect &rect,
*
*/
NodeList SVGSVGElementImpl::getEnclosureList(const SVGRect &rect,
- const SVGElement *referenceElement )
+ const SVGElementPtr referenceElement )
{
NodeList list;
return list;
@@ -180,7 +180,7 @@ NodeList SVGSVGElementImpl::getEnclosureList(const SVGRect &rect,
/**
*
*/
-bool SVGSVGElementImpl::checkIntersection(const SVGElement *element,
+bool SVGSVGElementImpl::checkIntersection(const SVGElementPtr element,
const SVGRect &rect )
{
return false;
@@ -189,7 +189,7 @@ bool SVGSVGElementImpl::checkIntersection(const SVGElement *element,
/**
*
*/
-bool SVGSVGElementImpl::checkEnclosure(const SVGElement *element,
+bool SVGSVGElementImpl::checkEnclosure(const SVGElementPtr element,
const SVGRect &rect )
{
return false;
@@ -205,7 +205,7 @@ void SVGSVGElementImpl::deselectAll( )
/**
*
*/
-Element *SVGSVGElementImpl::getElementById(const DOMString& elementId )
+ElementPtr SVGSVGElementImpl::getElementById(const DOMString& elementId )
{
return NULL;
}
@@ -350,7 +350,7 @@ Element *SVGSVGElementImpl::getElementById(const DOMString& elementId )
/**
*
*/
-SVGDocument *GetSVGDocumentImpl::getSVGDocument( )
+SVGDocumentPtr GetSVGDocumentImpl::getSVGDocument( )
throw ( DOMException )
{
return NULL;