summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmldlg_imexp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-06 12:31:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-07 06:48:56 +0000
commit702496391b2b9ef53f83752b34feb3c33d7fb4e9 (patch)
treeb8049cb54a4a0b8724d8bf6b45b9d176511bf9cf /xmlscript/source/xmldlg_imexp
parentec47e78fee143a3f1705c35300003cb2369013c6 (diff)
loplugin:constantparam in vcl..xmlscript
Change-Id: Icf66c08071b154259c9e551342d30331caf2b15a Reviewed-on: https://gerrit.libreoffice.org/28685 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmlscript/source/xmldlg_imexp')
-rw-r--r--xmlscript/source/xmldlg_imexp/imp_share.hxx4
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_import.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx
index 743b5ee239f6..9802f87b195c 100644
--- a/xmlscript/source/xmldlg_imexp/imp_share.hxx
+++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx
@@ -529,8 +529,8 @@ public:
inline WindowElement(
OUString const & rLocalName,
css::uno::Reference< css::xml::input::XAttributes > const & xAttributes,
- ElementBase * pParent, DialogImport * pImport )
- : ControlElement( rLocalName, xAttributes, pParent, pImport )
+ DialogImport * pImport )
+ : ControlElement( rLocalName, xAttributes, nullptr, pImport )
{}
};
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index 3b53820b090c..8bec171b0478 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -1747,7 +1747,7 @@ Reference< xml::input::XElement > DialogImport::startRootElement(
// window
else if ( rLocalName == "window" )
{
- return new WindowElement( rLocalName, xAttributes, nullptr, this );
+ return new WindowElement( rLocalName, xAttributes, this );
}
else
{