summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgnode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svgnode.cxx')
-rw-r--r--svgio/source/svgreader/svgnode.cxx17
1 files changed, 3 insertions, 14 deletions
diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx
index 15cb099537b0..de546314956c 100644
--- a/svgio/source/svgreader/svgnode.cxx
+++ b/svgio/source/svgreader/svgnode.cxx
@@ -296,20 +296,9 @@ namespace svgio
maChildren.pop_back();
}
- if(mpId)
- {
- delete mpId;
- }
-
- if(mpClass)
- {
- delete mpClass;
- }
-
- if(mpLocalCssStyle)
- {
- delete mpLocalCssStyle;
- }
+ delete mpId;
+ delete mpClass;
+ delete mpLocalCssStyle;
}
void SvgNode::readLocalCssStyle(const OUString& aContent)