From 692d35b89a9f6de4099d180e79aa39ded1214922 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 3 Oct 2017 11:10:07 +0200 Subject: loplugin:finalclasses in xmloff Change-Id: I10ffefd29b858548472a459314c7d5632324bca2 Reviewed-on: https://gerrit.libreoffice.org/43069 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/inc/XMLBackgroundImageExport.hxx | 3 +-- xmloff/inc/XMLBase64Export.hxx | 2 -- xmloff/inc/XMLImageMapExport.hxx | 2 +- xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx | 2 +- xmloff/inc/XMLNumberStylesImport.hxx | 2 -- xmloff/inc/XMLTextColumnsExport.hxx | 2 -- xmloff/inc/txtfldi.hxx | 4 ++-- 7 files changed, 5 insertions(+), 12 deletions(-) (limited to 'xmloff/inc') diff --git a/xmloff/inc/XMLBackgroundImageExport.hxx b/xmloff/inc/XMLBackgroundImageExport.hxx index 0eb74683f28f..a6dca781ff26 100644 --- a/xmloff/inc/XMLBackgroundImageExport.hxx +++ b/xmloff/inc/XMLBackgroundImageExport.hxx @@ -32,9 +32,8 @@ class XMLBackgroundImageExport { SvXMLExport& rExport; -protected: - SvXMLExport& GetExport() { return rExport; } + public: XMLBackgroundImageExport( SvXMLExport& rExport ); diff --git a/xmloff/inc/XMLBase64Export.hxx b/xmloff/inc/XMLBase64Export.hxx index a33c00b2296d..f148148bcbe0 100644 --- a/xmloff/inc/XMLBase64Export.hxx +++ b/xmloff/inc/XMLBase64Export.hxx @@ -29,8 +29,6 @@ class XMLBase64Export { SvXMLExport& rExport; -protected: - SvXMLExport& GetExport() { return rExport; } public: diff --git a/xmloff/inc/XMLImageMapExport.hxx b/xmloff/inc/XMLImageMapExport.hxx index db7ab92b27f0..9351682dbee1 100644 --- a/xmloff/inc/XMLImageMapExport.hxx +++ b/xmloff/inc/XMLImageMapExport.hxx @@ -68,7 +68,7 @@ public: /// the container containing the image map elements const css::uno::Reference< css::container::XIndexContainer> & rContainer); -protected: +private: /** * Export a single, named map entry. diff --git a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx index 83461d1a25c2..40845cb94c88 100644 --- a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx +++ b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx @@ -74,7 +74,7 @@ public: virtual ~XMLIndexBibliographyConfigurationContext() override; -protected: +private: virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList> & xAttrList) override; diff --git a/xmloff/inc/XMLNumberStylesImport.hxx b/xmloff/inc/XMLNumberStylesImport.hxx index 0dbdc9f94fe8..7f745ec9189d 100644 --- a/xmloff/inc/XMLNumberStylesImport.hxx +++ b/xmloff/inc/XMLNumberStylesImport.hxx @@ -30,7 +30,6 @@ class SdXMLImport; class SdXMLNumberFormatImportContext : public SvXMLNumFormatContext { -private: friend class SdXMLNumberFormatMemberImportContext; bool mbTimeStyle; @@ -42,7 +41,6 @@ private: bool compareStyle( const SdXMLFixedDataStyle* pStyle, sal_Int16& nIndex ) const; -protected: void add( OUString const & rNumberStyle, bool bLong, bool bTextual, bool bDecimal02, OUString const & rText ); public: diff --git a/xmloff/inc/XMLTextColumnsExport.hxx b/xmloff/inc/XMLTextColumnsExport.hxx index 11f206a15ff8..8652b6771ad0 100644 --- a/xmloff/inc/XMLTextColumnsExport.hxx +++ b/xmloff/inc/XMLTextColumnsExport.hxx @@ -36,8 +36,6 @@ class XMLTextColumnsExport const OUString sAutomaticDistance; const OUString sSeparatorLineStyle; -protected: - SvXMLExport& GetExport() { return rExport; } public: diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index f2812dbb52cb..5e66297a53d7 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -834,7 +834,7 @@ public: const OUString& sLocalName, sal_uInt16 nToken); -protected: +private: /// process attribute values virtual void ProcessAttribute( sal_uInt16 nAttrToken, const OUString& sAttrValue ) override; @@ -1097,7 +1097,7 @@ public: sal_uInt16 nPrfx, const OUString& sLocalName); -protected: +private: /// process attributes (fill aValues) virtual void StartElement( const css::uno::Reference & xAttrList) override; -- cgit