diff options
Diffstat (limited to 'sw/source/core/unocore/unoobj2.cxx')
-rw-r--r-- | sw/source/core/unocore/unoobj2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx index 61f3f9951a6e..97ea2e708a97 100644 --- a/sw/source/core/unocore/unoobj2.cxx +++ b/sw/source/core/unocore/unoobj2.cxx @@ -486,7 +486,7 @@ struct SwXParagraphEnumerationImpl final : public SwXParagraphEnumeration } } - virtual ~SwXParagraphEnumerationImpl() + virtual ~SwXParagraphEnumerationImpl() override { m_pCursor.reset(nullptr); } virtual void SAL_CALL release() throw () override { @@ -701,7 +701,7 @@ public: { } - virtual ~Impl() + virtual ~Impl() override { // Impl owns the bookmark; delete it here: SolarMutex is locked Invalidate(); |