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>
This commit is contained in:
Noel Grandin
2021-06-26 13:20:07 +02:00
parent 66fec11a62
commit 15faf18ddc
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
#include <xmloff/prhdlfac.hxx>
class XMLPageMasterPropHdlFactory : public XMLPropertyHandlerFactory
class XMLPageMasterPropHdlFactory final : public XMLPropertyHandlerFactory
{
public:
XMLPageMasterPropHdlFactory();
+1 -1
View File
@@ -21,7 +21,7 @@
#include <xmloff/xmlprmap.hxx>
class XMLPageMasterPropSetMapper : public XMLPropertySetMapper
class XMLPageMasterPropSetMapper final : public XMLPropertySetMapper
{
public:
explicit XMLPageMasterPropSetMapper();
+1 -2
View File
@@ -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;
@@ -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() {}