summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/acmplwrd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/acmplwrd.cxx')
-rw-r--r--sw/source/core/doc/acmplwrd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx
index 68950f3ece85..95d0ffb00f13 100644
--- a/sw/source/core/doc/acmplwrd.cxx
+++ b/sw/source/core/doc/acmplwrd.cxx
@@ -49,7 +49,7 @@ class SwAutoCompleteClient : public SwClient
public:
SwAutoCompleteClient(SwAutoCompleteWord& rToTell, SwDoc& rSwDoc);
SwAutoCompleteClient(const SwAutoCompleteClient& rClient);
- ~SwAutoCompleteClient();
+ virtual ~SwAutoCompleteClient();
SwAutoCompleteClient& operator=(const SwAutoCompleteClient& rClient);
@@ -86,7 +86,7 @@ class SwAutoCompleteString
public:
SwAutoCompleteString(const OUString& rStr, sal_Int32 nPos, sal_Int32 nLen);
- ~SwAutoCompleteString();
+ virtual ~SwAutoCompleteString();
void AddDocument(const SwDoc& rDoc);
//returns true if last document reference has been removed
bool RemoveDocument(const SwDoc& rDoc);