summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmlflat_imexp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-23 16:14:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-24 08:32:37 +0200
commitf08a06052bfe38c2bc0a23bd2c56ff9c1cb5536c (patch)
tree5cd66bffbb0bd630d11d95becd2d3b68939e7769 /xmlscript/source/xmlflat_imexp
parentcec5271db3563bf393e1afe40bd5a368eeaf0b88 (diff)
loplugin:unusedfields,can-be-const in xmlscript
Change-Id: Ibd733b822bb2eee9de6319b5ea9e4d8dd3641cdc Reviewed-on: https://gerrit.libreoffice.org/57850 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript/source/xmlflat_imexp')
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_export.hxx2
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_import.hxx14
2 files changed, 8 insertions, 8 deletions
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
index 6d44d6255451..e710236413a7 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
@@ -45,7 +45,7 @@ namespace xmlscript
::osl::Mutex m_aMutex;
css::uno::Reference< css::xml::sax::XDocumentHandler > m_xHandler;
css::uno::Reference< css::frame::XModel > m_xModel;
- bool m_bOasis;
+ bool const m_bOasis;
public:
explicit XMLBasicExporterBase(bool bOasis);
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
index 247cf835eb3c..bb8737f5cff9 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
@@ -47,7 +47,7 @@ namespace xmlscript
rtl::Reference<BasicImport> m_xImport;
private:
rtl::Reference<BasicElementBase> m_xParent;
- OUString m_aLocalName;
+ OUString const m_aLocalName;
css::uno::Reference< css::xml::input::XAttributes > m_xAttributes;
protected:
@@ -104,8 +104,8 @@ namespace xmlscript
private:
css::uno::Reference< css::script::XLibraryContainer2 > m_xLibContainer;
css::uno::Reference< css::container::XNameContainer > m_xLib;
- OUString m_aLibName;
- bool m_bReadOnly;
+ OUString const m_aLibName;
+ bool const m_bReadOnly;
public:
BasicEmbeddedLibraryElement( const OUString& rLocalName,
@@ -127,7 +127,7 @@ namespace xmlscript
{
private:
css::uno::Reference< css::container::XNameContainer > m_xLib;
- OUString m_aName;
+ OUString const m_aName;
public:
BasicModuleElement( const OUString& rLocalName,
@@ -149,7 +149,7 @@ namespace xmlscript
{
private:
css::uno::Reference< css::container::XNameContainer > m_xLib;
- OUString m_aName;
+ OUString const m_aName;
OUStringBuffer m_aBuffer;
public:
@@ -180,7 +180,7 @@ namespace xmlscript
sal_Int32 XMLNS_UID;
sal_Int32 XMLNS_XLINK_UID;
css::uno::Reference< css::frame::XModel > m_xModel;
- bool m_bOasis;
+ bool const m_bOasis;
public:
BasicImport( const css::uno::Reference< css::frame::XModel >& rxModel, bool bOasis );
@@ -212,7 +212,7 @@ namespace xmlscript
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::Reference< css::xml::sax::XDocumentHandler > m_xHandler;
css::uno::Reference< css::frame::XModel > m_xModel;
- bool m_bOasis;
+ bool const m_bOasis;
public:
XMLBasicImporterBase(