From dd8060ddc418942d51bb07313546fe849aac9d39 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 1 Nov 2017 10:39:38 +0200 Subject: loplugin:finalclasses in h*,i*,j* Change-Id: I3b5f319a88dbe6a9c2ffbfdf991345beda9a2fcd Reviewed-on: https://gerrit.libreoffice.org/44154 Tested-by: Jenkins Reviewed-by: Noel Grandin --- l10ntools/inc/xmlparse.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'l10ntools') diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index 177af07dfc7a..8f485e9707eb 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -145,7 +145,7 @@ typedef std::unordered_map TagMap; /** Holds information of a XML file, is root node of tree */ -class XMLFile : public XMLParentNode +class XMLFile final : public XMLParentNode { public: XMLFile( @@ -173,7 +173,7 @@ public: void SetName( const OString &rFilename ) { m_sFileName = rFilename; } const std::vector& getOrder() const { return m_vOrder; } -protected: +private: void InsertL10NElement( XMLElement* pElement); -- cgit