[Libreoffice-commits] core.git: xmloff/inc

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 26 11:20:46 UTC 2021


 xmloff/inc/PageMasterPropHdlFactory.hxx        |    2 +-
 xmloff/inc/PageMasterPropMapper.hxx            |    2 +-
 xmloff/inc/SchXMLExport.hxx                    |    3 +--
 xmloff/inc/XMLNumberWithAutoForVoidPropHdl.hxx |    2 +-
 4 files changed, 4 insertions(+), 5 deletions(-)

New commits:
commit 15faf18ddca02beb75f89dcd7887d7b8ae2a5e32
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Jun 25 09:30:57 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Jun 26 13:20:07 2021 +0200

    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 at collabora.co.uk>

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() {}


More information about the Libreoffice-commits mailing list