summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmlflat_imexp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-17 08:39:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-17 08:40:27 +0200
commit2f7ccd102a6280750ce920e4c4eab66f9a01b9d3 (patch)
treef1e384c6b76b8fd9846db630ee58cdf6c9085482 /xmlscript/source/xmlflat_imexp
parent234325b9fc0d54e594de8e5d2e7c717684db1745 (diff)
extend unusedfields loplugin to find fields that can be private
and apply the results in xmlscript Change-Id: Ib126f6e1576639abfd171e99d9561be9715ece2f
Diffstat (limited to 'xmlscript/source/xmlflat_imexp')
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_import.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
index 5a913c665533..194283c87d87 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
@@ -45,10 +45,12 @@ namespace xmlscript
{
protected:
rtl::Reference<BasicImport> m_xImport;
+ private:
rtl::Reference<BasicElementBase> m_xParent;
OUString m_aLocalName;
css::uno::Reference< css::xml::input::XAttributes > m_xAttributes;
+ protected:
static bool getBoolAttr( bool* pRet, const OUString& rAttrName,
const css::uno::Reference< css::xml::input::XAttributes >& xAttributes,
sal_Int32 nUid );