diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-06 12:31:00 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-07 06:48:56 +0000 |
commit | 702496391b2b9ef53f83752b34feb3c33d7fb4e9 (patch) | |
tree | b8049cb54a4a0b8724d8bf6b45b9d176511bf9cf /include/xmloff | |
parent | ec47e78fee143a3f1705c35300003cb2369013c6 (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 'include/xmloff')
-rw-r--r-- | include/xmloff/XMLEventExport.hxx | 3 | ||||
-rw-r--r-- | include/xmloff/nmspmap.hxx | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/include/xmloff/XMLEventExport.hxx b/include/xmloff/XMLEventExport.hxx index ae3bb90befd5..a411e6dfd877 100644 --- a/include/xmloff/XMLEventExport.hxx +++ b/include/xmloff/XMLEventExport.hxx @@ -68,8 +68,7 @@ class XMLOFF_DLLPUBLIC XMLEventExport bool bExtNamespace; public: - XMLEventExport(SvXMLExport& rExport, - const XMLEventNameTranslation* pTranslationTable = nullptr); + XMLEventExport(SvXMLExport& rExport); ~XMLEventExport(); /// register an EventExportHandler for a particular script type diff --git a/include/xmloff/nmspmap.hxx b/include/xmloff/nmspmap.hxx index 0a2849df7d8c..b2926d9f9293 100644 --- a/include/xmloff/nmspmap.hxx +++ b/include/xmloff/nmspmap.hxx @@ -147,11 +147,9 @@ public: /* deprecated */ sal_uInt16 GetKeyByAttrName( const OUString& rAttrName, OUString *pPrefix, OUString *pLocalName, - OUString *pNamespace, - sal_uInt16 nIdxGuess = USHRT_MAX ) const; + OUString *pNamespace ) const; /* deprecated */ sal_uInt16 GetKeyByAttrName( const OUString& rAttrName, - OUString *pLocalName = nullptr, - sal_uInt16 nIdxGuess = USHRT_MAX ) const; + OUString *pLocalName = nullptr ) const; }; #endif // INCLUDED_XMLOFF_NMSPMAP_HXX |