summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-03 11:10:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-03 13:22:00 +0200
commit692d35b89a9f6de4099d180e79aa39ded1214922 (patch)
treec72c41494dd5d7525ef9b2b921efb2533f411681 /xmloff/inc
parent85a9b4b3cf2b61d470f74450c73abcefcadbe3e9 (diff)
loplugin:finalclasses in xmloff
Change-Id: I10ffefd29b858548472a459314c7d5632324bca2 Reviewed-on: https://gerrit.libreoffice.org/43069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/XMLBackgroundImageExport.hxx3
-rw-r--r--xmloff/inc/XMLBase64Export.hxx2
-rw-r--r--xmloff/inc/XMLImageMapExport.hxx2
-rw-r--r--xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx2
-rw-r--r--xmloff/inc/XMLNumberStylesImport.hxx2
-rw-r--r--xmloff/inc/XMLTextColumnsExport.hxx2
-rw-r--r--xmloff/inc/txtfldi.hxx4
7 files changed, 5 insertions, 12 deletions
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<css::xml::sax::XAttributeList> & xAttrList) override;