summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoobj2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoobj2.cxx')
-rw-r--r--sw/source/core/unocore/unoobj2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx
index 51e07ab30272..504bb56904f4 100644
--- a/sw/source/core/unocore/unoobj2.cxx
+++ b/sw/source/core/unocore/unoobj2.cxx
@@ -465,7 +465,7 @@ public:
}
SAL_WNODEPRECATED_DECLARATIONS_POP
- ~Impl() {
+ virtual ~Impl() {
// Impl owns the cursor; delete it here: SolarMutex is locked
delete GetRegisteredIn();
}
@@ -731,7 +731,7 @@ public:
{
}
- ~Impl()
+ virtual ~Impl()
{
// Impl owns the bookmark; delete it here: SolarMutex is locked
Invalidate();
@@ -1533,7 +1533,7 @@ public:
MakeRanges();
}
- ~Impl() {
+ virtual ~Impl() {
// Impl owns the cursor; delete it here: SolarMutex is locked
delete GetRegisteredIn();
}
@@ -1718,7 +1718,7 @@ public:
}
}
- ~Impl() {
+ virtual ~Impl() {
// Impl owns the cursor; delete it here: SolarMutex is locked
delete GetRegisteredIn();
}