diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-25 09:30:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-26 13:20:07 +0200 |
commit | 15faf18ddca02beb75f89dcd7887d7b8ae2a5e32 (patch) | |
tree | 9a9df749af7e535097225789fbcf42cf1b68640f /xmloff | |
parent | 66fec11a62b692cc00cf0c1332d841906abfaea8 (diff) |
loplugin:finalclasses in xmloff
Change-Id: I1f1e6c9bad9a2da18701a87ae4e835641a49c107
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117890
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/PageMasterPropHdlFactory.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/PageMasterPropMapper.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/SchXMLExport.hxx | 3 | ||||
-rw-r--r-- | xmloff/inc/XMLNumberWithAutoForVoidPropHdl.hxx | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/xmloff/inc/PageMasterPropHdlFactory.hxx b/xmloff/inc/PageMasterPropHdlFactory.hxx index 505de4fec016..b2152090820b 100644 --- a/xmloff/inc/PageMasterPropHdlFactory.hxx +++ b/xmloff/inc/PageMasterPropHdlFactory.hxx @@ -21,7 +21,7 @@ #include <xmloff/prhdlfac.hxx> -class XMLPageMasterPropHdlFactory : public XMLPropertyHandlerFactory +class XMLPageMasterPropHdlFactory final : public XMLPropertyHandlerFactory { public: XMLPageMasterPropHdlFactory(); diff --git a/xmloff/inc/PageMasterPropMapper.hxx b/xmloff/inc/PageMasterPropMapper.hxx index 492aa4e961ef..7da53acd2fb2 100644 --- a/xmloff/inc/PageMasterPropMapper.hxx +++ b/xmloff/inc/PageMasterPropMapper.hxx @@ -21,7 +21,7 @@ #include <xmloff/xmlprmap.hxx> -class XMLPageMasterPropSetMapper : public XMLPropertySetMapper +class XMLPageMasterPropSetMapper final : public XMLPropertySetMapper { public: explicit XMLPageMasterPropSetMapper(); diff --git a/xmloff/inc/SchXMLExport.hxx b/xmloff/inc/SchXMLExport.hxx index f332dd3c32c4..55ac1125654d 100644 --- a/xmloff/inc/SchXMLExport.hxx +++ b/xmloff/inc/SchXMLExport.hxx @@ -31,14 +31,13 @@ namespace com::sun::star { // export class for a complete chart document -class SchXMLExport : public SvXMLExport +class SchXMLExport final : public SvXMLExport { private: rtl::Reference<SchXMLAutoStylePoolP> maAutoStylePool; rtl::Reference<SchXMLExportHelper> maExportHelper; -protected: virtual ErrCode exportDoc( enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID ) override; virtual void ExportAutoStyles_() override; diff --git a/xmloff/inc/XMLNumberWithAutoForVoidPropHdl.hxx b/xmloff/inc/XMLNumberWithAutoForVoidPropHdl.hxx index 425ed84e1d56..c08054b2ec08 100644 --- a/xmloff/inc/XMLNumberWithAutoForVoidPropHdl.hxx +++ b/xmloff/inc/XMLNumberWithAutoForVoidPropHdl.hxx @@ -26,7 +26,7 @@ Reads/writes numeric properties with special handling for "void" value (i.e., void property will be written as "auto") */ -class XMLNumberWithAutoForVoidPropHdl : public XMLPropertyHandler +class XMLNumberWithAutoForVoidPropHdl final : public XMLPropertyHandler { public: explicit XMLNumberWithAutoForVoidPropHdl() {} |