summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
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/source/forms
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/source/forms')
-rw-r--r--xmloff/source/forms/attriblistmerge.hxx3
-rw-r--r--xmloff/source/forms/elementimport.hxx7
-rw-r--r--xmloff/source/forms/eventexport.hxx1
-rw-r--r--xmloff/source/forms/eventimport.hxx1
-rw-r--r--xmloff/source/forms/formcellbinding.hxx4
-rw-r--r--xmloff/source/forms/layerexport.hxx4
-rw-r--r--xmloff/source/forms/layerimport.hxx4
-rw-r--r--xmloff/source/forms/officeforms.hxx2
-rw-r--r--xmloff/source/forms/propertyimport.hxx1
9 files changed, 7 insertions, 20 deletions
diff --git a/xmloff/source/forms/attriblistmerge.hxx b/xmloff/source/forms/attriblistmerge.hxx
index b17e86b021de..e3d352a9d1f8 100644
--- a/xmloff/source/forms/attriblistmerge.hxx
+++ b/xmloff/source/forms/attriblistmerge.hxx
@@ -39,7 +39,6 @@ namespace xmloff
*/
class OAttribListMerger : public OAttribListMerger_Base
{
- protected:
typedef std::vector< css::uno::Reference< css::xml::sax::XAttributeList > > AttributeListArray;
AttributeListArray m_aLists;
@@ -58,7 +57,7 @@ namespace xmloff
virtual OUString SAL_CALL getValueByIndex( sal_Int16 i ) override;
virtual OUString SAL_CALL getValueByName( const OUString& aName ) override;
- protected:
+ private:
bool seekToIndex(sal_Int16 _nGlobalIndex, css::uno::Reference< css::xml::sax::XAttributeList >& _rSubList, sal_Int16& _rLocalIndex);
bool seekToName(const OUString& _rName, css::uno::Reference< css::xml::sax::XAttributeList >& _rSubList, sal_Int16& _rLocalIndex);
};
diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx
index cf81af025784..79d223948391 100644
--- a/xmloff/source/forms/elementimport.hxx
+++ b/xmloff/source/forms/elementimport.hxx
@@ -51,7 +51,6 @@ namespace xmloff
*/
class OElementNameMap : public OControlElement
{
- protected:
typedef std::map<OUString, ElementType> MapString2Element;
static MapString2Element s_sElementTranslations;
@@ -302,7 +301,6 @@ namespace xmloff
//= OReferredControlImport
class OReferredControlImport : public OControlImport
{
- protected:
OUString m_sReferringControls; // the list of ids of controls referring to the one being imported
public:
@@ -614,7 +612,6 @@ namespace xmloff
//= OColumnWrapperImport
class OColumnWrapperImport : public SvXMLImportContext
{
- protected:
css::uno::Reference< css::xml::sax::XAttributeList >
m_xOwnAttributes;
css::uno::Reference< css::container::XNameContainer >
@@ -632,7 +629,7 @@ namespace xmloff
const css::uno::Reference< css::xml::sax::XAttributeList >& _rxAttrList) override;
virtual void StartElement(
const css::uno::Reference< css::xml::sax::XAttributeList >& _rxAttrList) override;
- protected:
+ private:
OControlImport* implCreateChildContext(
sal_uInt16 _nPrefix, const OUString& _rLocalName,
OControlElement::ElementType _eType);
@@ -668,7 +665,7 @@ namespace xmloff
const css::uno::Reference< css::container::XNameContainer >& _rxParentContainer
);
- protected:
+ private:
// SvXMLImportContext overridables
virtual SvXMLImportContextRef CreateChildContext(
sal_uInt16 _nPrefix, const OUString& _rLocalName,
diff --git a/xmloff/source/forms/eventexport.hxx b/xmloff/source/forms/eventexport.hxx
index 3f609d896ed8..5004d7af43c8 100644
--- a/xmloff/source/forms/eventexport.hxx
+++ b/xmloff/source/forms/eventexport.hxx
@@ -47,7 +47,6 @@ namespace xmloff
*/
class OEventDescriptorMapper : public OEventDescriptorMapper_Base
{
- protected:
typedef std::map< OUString, css::uno::Sequence < css::beans::PropertyValue > > MapString2PropertyValueSequence;
MapString2PropertyValueSequence m_aMappedEvents;
diff --git a/xmloff/source/forms/eventimport.hxx b/xmloff/source/forms/eventimport.hxx
index cf1f2fbcb6c1..3cb8012058b2 100644
--- a/xmloff/source/forms/eventimport.hxx
+++ b/xmloff/source/forms/eventimport.hxx
@@ -36,7 +36,6 @@ namespace xmloff
//= OFormEventsImportContext
class OFormEventsImportContext : public XMLEventsImportContext
{
- protected:
IEventAttacher& m_rEventAttacher;
public:
diff --git a/xmloff/source/forms/formcellbinding.hxx b/xmloff/source/forms/formcellbinding.hxx
index 346669500501..06016ae8eab4 100644
--- a/xmloff/source/forms/formcellbinding.hxx
+++ b/xmloff/source/forms/formcellbinding.hxx
@@ -37,7 +37,6 @@ namespace xmloff
*/
class FormCellBindingHelper
{
- protected:
css::uno::Reference< css::beans::XPropertySet >
m_xControlModel; // the model we work for
css::uno::Reference< css::sheet::XSpreadsheetDocument >
@@ -66,7 +65,6 @@ namespace xmloff
const css::uno::Reference< css::frame::XModel >& _rxDocument
);
- public:
/** gets a cell binding for the given address
@precond
isCellBindingAllowed returns <TRUE/>
@@ -178,7 +176,7 @@ namespace xmloff
const css::uno::Reference< css::form::binding::XListEntrySource >& _rxSource
);
- protected:
+ private:
/** creates an address object from a string representation of a cell address
*/
bool convertStringAddress(
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx
index 0577a801a095..5a2ae2e7f8ad 100644
--- a/xmloff/source/forms/layerexport.hxx
+++ b/xmloff/source/forms/layerexport.hxx
@@ -65,7 +65,6 @@ namespace xmloff
{
friend class OFormLayerXMLExport;
- protected:
SvXMLExport& m_rContext;
SvXMLNumFmtExport* m_pControlNumberStyles;
@@ -123,7 +122,7 @@ namespace xmloff
explicit OFormLayerXMLExport_Impl(SvXMLExport& _rContext);
virtual ~OFormLayerXMLExport_Impl();
- protected:
+ private:
/** exports one single grid column
*/
void exportGridColumn(
@@ -231,7 +230,6 @@ namespace xmloff
*/
void exportAutoStyles();
- protected:
static bool impl_isFormPageContainingForms(
const css::uno::Reference< css::drawing::XDrawPage >& _rxDrawPage,
css::uno::Reference< css::container::XIndexAccess >& _rxForms);
diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx
index d54c970f35e1..a6fbad3c7292 100644
--- a/xmloff/source/forms/layerimport.hxx
+++ b/xmloff/source/forms/layerimport.hxx
@@ -51,7 +51,6 @@ namespace xmloff
{
friend class OFormLayerXMLImport;
- protected:
SvXMLImport& m_rImporter;
OAttribute2Property m_aAttributeMetaData;
@@ -60,7 +59,6 @@ namespace xmloff
m_xCurrentPageFormsSupp;
rtl::Reference<SvXMLStylesContext> m_xAutoStyles;
- protected:
typedef std::map< OUString, css::uno::Reference< css::beans::XPropertySet > > MapString2PropertySet;
typedef std::map<css::uno::Reference<css::drawing::XDrawPage>, MapString2PropertySet, ODrawPageCompare> MapDrawPage2Map;
@@ -131,7 +129,7 @@ namespace xmloff
~OFormLayerXMLImport_Impl() override;
- protected:
+ private:
explicit OFormLayerXMLImport_Impl(SvXMLImport& _rImporter);
/** start importing the forms of the given page
diff --git a/xmloff/source/forms/officeforms.hxx b/xmloff/source/forms/officeforms.hxx
index 027f095b877c..2567f665219a 100644
--- a/xmloff/source/forms/officeforms.hxx
+++ b/xmloff/source/forms/officeforms.hxx
@@ -47,7 +47,7 @@ namespace xmloff
virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& _rxAttrList ) override;
virtual void EndElement() override;
- protected:
+ private:
void implImportBool(
const css::uno::Reference< css::xml::sax::XAttributeList >& _rxAttributes,
OfficeFormsAttributes _eAttribute,
diff --git a/xmloff/source/forms/propertyimport.hxx b/xmloff/source/forms/propertyimport.hxx
index 9d497e01497b..c0ee5be0f4b2 100644
--- a/xmloff/source/forms/propertyimport.hxx
+++ b/xmloff/source/forms/propertyimport.hxx
@@ -157,7 +157,6 @@ namespace xmloff
*/
class OPropertyElementsContext : public SvXMLImportContext
{
- protected:
OPropertyImportRef m_xPropertyImporter; // to add the properties
public: