diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-12 14:59:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-13 09:45:44 +0200 |
commit | fa0e4fa0154b15fa1c04495562d08b4490ec984b (patch) | |
tree | add3105c3bc48916dfba2030715a4963c86ae3b5 /embeddedobj | |
parent | 7bbe6602552fc7691bbfee8e9e31489fbd906140 (diff) |
loplugin:unodispose in editeng..extensions
Change-Id: I6545cf93b0a101d3a3eea0abe9c1732fcf3dc2d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156850
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/olemisc.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/embeddedobj/source/msole/olemisc.cxx b/embeddedobj/source/msole/olemisc.cxx index 6d371d428fd6..4f50aedeba5f 100644 --- a/embeddedobj/source/msole/olemisc.cxx +++ b/embeddedobj/source/msole/olemisc.cxx @@ -289,6 +289,15 @@ void OleEmbeddedObject::Dispose() } m_xParentStorage.clear(); + m_xClientSite.clear(); + m_xClosePreventer.clear(); + m_xNewCachedVisRepl.clear(); + m_xNewParentStorage.clear(); + m_xNewObjectStream.clear(); + m_xCachedVisualRepresentation.clear(); + m_xWrappedObject.clear(); + m_xParent.clear(); + m_pOleComponent.clear(); m_bDisposed = true; } |