summaryrefslogtreecommitdiff
path: root/xmloff/source/style/MarkerStyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/MarkerStyle.cxx')
-rw-r--r--xmloff/source/style/MarkerStyle.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/style/MarkerStyle.cxx b/xmloff/source/style/MarkerStyle.cxx
index a2c138689009..864eedf889a8 100644
--- a/xmloff/source/style/MarkerStyle.cxx
+++ b/xmloff/source/style/MarkerStyle.cxx
@@ -136,8 +136,7 @@ bool XMLMarkerStyleImport::importXML(
}
}
- if( pViewBox )
- delete pViewBox;
+ delete pViewBox;
return bHasViewBox && bHasPathData;
}