summaryrefslogtreecommitdiffstats
path: root/src/dom/domimpl.cpp
diff options
context:
space:
mode:
authorAndrew Higginson <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
committerAndrew <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
commit80960b623a99aae1402ab651b2974ef544ed3b03 (patch)
treeba49d42c2789e9e11f805e2d5263e10f9fedeef8 /src/dom/domimpl.cpp
parenttry to fix bug (diff)
parentGDL: Cherry-pick upstream patch 73852 (2011-03-23) - Add missing return value. (diff)
downloadinkscape-80960b623a99aae1402ab651b2974ef544ed3b03.tar.gz
inkscape-80960b623a99aae1402ab651b2974ef544ed3b03.zip
merged with trunk so I can build again...
(bzr r10092.1.36)
Diffstat (limited to 'src/dom/domimpl.cpp')
-rw-r--r--src/dom/domimpl.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/dom/domimpl.cpp b/src/dom/domimpl.cpp
index e12f40714..1d562005f 100644
--- a/src/dom/domimpl.cpp
+++ b/src/dom/domimpl.cpp
@@ -1,4 +1,4 @@
-/**
+/*
* Phoebe DOM Implementation.
*
* This is a C++ approximation of the W3C DOM model, which follows
@@ -2077,7 +2077,10 @@ void UserDataHandlerImpl::handle(unsigned short /*operation*/,
/**
*
*/
-DOMErrorImpl::DOMErrorImpl()
+DOMErrorImpl::DOMErrorImpl() :
+ severity(0),
+ message(),
+ type()
{
}
@@ -2183,7 +2186,13 @@ bool DOMErrorHandlerImpl::handleError(const DOMError *error)
/**
*
*/
-DOMLocatorImpl::DOMLocatorImpl()
+DOMLocatorImpl::DOMLocatorImpl() :
+ lineNumber(0),
+ columnNumber(0),
+ byteOffset(0),
+ utf16Offset(0),
+ relatedNode(0),
+ uri()
{
}