summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgnode.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:24:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:45 +0100
commit6f06230da10c6a51c5538f1b5515b341475ea043 (patch)
tree4729ecc6b256810d890fc4ad32b6dd5f4ef0ee44 /svgio/source/svgreader/svgnode.cxx
parent35b3228609f3c4f3ae37695597f0d11127467bb8 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I0164a67073395b865fa3e3ce342665f6497dc5b8
Diffstat (limited to 'svgio/source/svgreader/svgnode.cxx')
-rw-r--r--svgio/source/svgreader/svgnode.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx
index 623a1e4cdfb3..d2b6532f2319 100644
--- a/svgio/source/svgreader/svgnode.cxx
+++ b/svgio/source/svgreader/svgnode.cxx
@@ -37,7 +37,7 @@ namespace svgio
const SvgStyleAttributes* SvgNode::getSvgStyleAttributes() const
{
- return 0;
+ return nullptr;
}
void SvgNode::fillCssStyleVectorUsingHierarchyAndSelectors(
@@ -232,7 +232,7 @@ namespace svgio
// for the element containing the hierarchy) in a vector of pointers and to use that.
// Resetting the CssStyleParent on rOriginal is probably not needed
// but simply safer to do.
- const_cast< SvgStyleAttributes& >(rOriginal).setCssStyleParent(0);
+ const_cast< SvgStyleAttributes& >(rOriginal).setCssStyleParent(nullptr);
// loop over the existing CssStyles and link them. There is a first one, take
// as current
@@ -262,14 +262,14 @@ namespace svgio
: maType(aType),
mrDocument(rDocument),
mpParent(pParent),
- mpAlternativeParent(0),
+ mpAlternativeParent(nullptr),
maChildren(),
- mpId(0),
- mpClass(0),
+ mpId(nullptr),
+ mpClass(nullptr),
maXmlSpace(XmlSpace_notset),
maDisplay(Display_inline),
maCssStyleVector(),
- mpLocalCssStyle(0),
+ mpLocalCssStyle(nullptr),
mbCssStyleVectorBuilt(false)
{
OSL_ENSURE(SVGTokenUnknown != maType, "SvgNode with unknown type created (!)");
@@ -656,7 +656,7 @@ namespace svgio
{
mrDocument.removeSvgNodeFromMapper(*mpId);
delete mpId;
- mpId = 0;
+ mpId = nullptr;
}
if(pfId)
@@ -672,7 +672,7 @@ namespace svgio
{
mrDocument.removeSvgNodeFromMapper(*mpClass);
delete mpClass;
- mpClass = 0;
+ mpClass = nullptr;
}
if(pfClass)