summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-15 14:28:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-15 18:58:17 +0200
commitafea504ad44f017f7020ed6dcc0191f7756acc93 (patch)
tree82ee390592c54f5167c53133d14edc50fa90719f /sw/source
parentfbb9a98a78a349aef7b69d29a7534fd35ff1aa53 (diff)
loplugin:finalclasses
Change-Id: I88831f290e1923db6fb5a733746bfa3bc7fbc7e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122148 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/inc/UndoOverwrite.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/UndoOverwrite.hxx b/sw/source/core/inc/UndoOverwrite.hxx
index f348ecd6c79f..5f9d59d4f2fb 100644
--- a/sw/source/core/inc/UndoOverwrite.hxx
+++ b/sw/source/core/inc/UndoOverwrite.hxx
@@ -31,7 +31,7 @@ namespace utl {
class TransliterationWrapper;
}
-class SwUndoOverwrite: public SwUndo, private SwUndoSaveContent
+class SwUndoOverwrite final : public SwUndo, private SwUndoSaveContent
{
OUString m_aDelStr, m_aInsStr;
std::unique_ptr<SwRedlineSaveDatas> m_pRedlSaveData;
@@ -66,7 +66,7 @@ public:
};
struct UndoTransliterate_Data;
-class SwUndoTransliterate : public SwUndo, public SwUndRng
+class SwUndoTransliterate final : public SwUndo, public SwUndRng
{
std::vector< std::unique_ptr<UndoTransliterate_Data> > m_aChanges;
TransliterationFlags m_nType;