summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-03 10:45:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-03 13:52:18 +0200
commit528dc27c3d97846bd0d73ef30e1c9c66daba425a (patch)
tree55c37dbbdfb96d402e6d37c5728a8724f6ffe5a2 /xmloff/source/draw
parent22fda7524385225d9264e48ee3f4811674f8239c (diff)
rename Clear() to dispose() in SvXMLStylesContext
to make it "clearer" this is part of the memory cleanup on destruction process Change-Id: I789bdfa0323cf759ed4db2e2a657e73e581d9eed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99990 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r--xmloff/source/draw/shapeimport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index 83cfa3880485..9fcae5b8b6a4 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -166,10 +166,10 @@ XMLShapeImportHelper::~XMLShapeImportHelper()
// Styles or AutoStyles context?
if(mxStylesContext.is())
- mxStylesContext->Clear();
+ mxStylesContext->dispose();
if(mxAutoStylesContext.is())
- mxAutoStylesContext->Clear();
+ mxAutoStylesContext->dispose();
}
const SvXMLTokenMap& XMLShapeImportHelper::GetGroupShapeElemTokenMap()