summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-08 11:01:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-09 07:27:39 +0100
commitc40d9ecd912a777ee25c6da6fbd2564b0d43a9b9 (patch)
tree5128962412b346ff9d2bdb79993838ce5072b2a2 /sw
parentafc96d263959d10e457b54a574f0829d20e99df4 (diff)
loplugin:unnecessaryvirtual
Change-Id: I5696c853daa16c9e55ff046d67102ba3042bfea8 Reviewed-on: https://gerrit.libreoffice.org/44459 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
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; }