summaryrefslogtreecommitdiff
path: root/xmloff/source/style
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/style
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/style')
-rw-r--r--xmloff/source/style/xmlstyle.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index 46c0a43db57d..7bd910df2d99 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -276,7 +276,7 @@ public:
}
inline void AddStyle( SvXMLStyleContext *pStyle );
- void Clear();
+ void dispose();
const SvXMLStyleContext *FindStyleChildContext( XmlStyleFamily nFamily,
const OUString& rName,
@@ -298,7 +298,7 @@ inline void SvXMLStylesContext_Impl::AddStyle( SvXMLStyleContext *pStyle )
FlushIndex();
}
-void SvXMLStylesContext_Impl::Clear()
+void SvXMLStylesContext_Impl::dispose()
{
FlushIndex();
aStyles.clear();
@@ -806,9 +806,9 @@ void SvXMLStylesContext::AddStyle(SvXMLStyleContext& rNew)
mpImpl->AddStyle( &rNew );
}
-void SvXMLStylesContext::Clear()
+void SvXMLStylesContext::dispose()
{
- mpImpl->Clear();
+ mpImpl->dispose();
}
void SvXMLStylesContext::CopyAutoStylesToDoc()