summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/doc.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index ac793aa2f924..2506252585c7 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -226,7 +226,7 @@ void SetAllScriptItem( SfxItemSet& rSet, const SfxPoolItem& rItem );
using SwRubyList = std::vector<std::unique_ptr<SwRubyListEntry>>;
// Represents the model of a Writer document.
-class SW_DLLPUBLIC SwDoc
+class SW_DLLPUBLIC SwDoc final
{
friend class ::sw::DocumentContentOperationsManager;
@@ -433,7 +433,7 @@ public:
// Life cycle
SwDoc();
- virtual ~SwDoc();
+ ~SwDoc();
bool IsInDtor() const { return mbDtor; }