summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-15 11:42:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-16 08:24:49 +0200
commit83f9325f0d8d643d8b3e71fa3ff76ebbd599373d (patch)
treeae330b657da35b82964cfac41f16e69acbc7c5b5 /xmlscript
parent9e425891f79a834abb03e3d69ee0c3665944faaa (diff)
loplugin:unusedfields xmlhelp..xmlsecurity
Change-Id: I7e680e1913c787ce0adad5be1f84668d57ad00b3 Reviewed-on: https://gerrit.libreoffice.org/38821 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmlmod_imexp/imp_share.hxx5
-rw-r--r--xmlscript/source/xmlmod_imexp/xmlmod_import.cxx2
2 files changed, 0 insertions, 7 deletions
diff --git a/xmlscript/source/xmlmod_imexp/imp_share.hxx b/xmlscript/source/xmlmod_imexp/imp_share.hxx
index 78c4d2a54830..99260ed4c238 100644
--- a/xmlscript/source/xmlmod_imexp/imp_share.hxx
+++ b/xmlscript/source/xmlmod_imexp/imp_share.hxx
@@ -50,16 +50,11 @@ struct ModuleImport
ModuleDescriptor& mrModuleDesc;
sal_Int32 XMLNS_SCRIPT_UID;
-private:
- sal_Int32 XMLNS_LIBRARY_UID;
- sal_Int32 XMLNS_XLINK_UID;
public:
explicit ModuleImport(ModuleDescriptor& rModuleDesc)
: mrModuleDesc(rModuleDesc)
, XMLNS_SCRIPT_UID(0)
- , XMLNS_LIBRARY_UID(0)
- , XMLNS_XLINK_UID(0)
{
}
diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
index f97de2496bac..81ebac41f80e 100644
--- a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
+++ b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
@@ -97,8 +97,6 @@ void ModuleImport::startDocument(
Reference< xml::input::XNamespaceMapping > const & xNamespaceMapping )
{
XMLNS_SCRIPT_UID = xNamespaceMapping->getUidByUri( XMLNS_SCRIPT_URI );
- XMLNS_LIBRARY_UID = xNamespaceMapping->getUidByUri( XMLNS_LIBRARY_URI );
- XMLNS_XLINK_UID = xNamespaceMapping->getUidByUri( XMLNS_XLINK_URI );
}
void ModuleImport::endDocument()