diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 13:14:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 15:27:37 +0200 |
commit | 24817c26b3f8cc1a8156357316be442e5460a1a7 (patch) | |
tree | e361e25d9ca4cd269fde426ddba135d87d6aba67 /writerperfect | |
parent | b9e9dde5ae6f8955b5e6584dd5d809c98bb66814 (diff) |
loplugin:constparams in starmath
Change-Id: Iac470b572311241216622f22bc543c0bd10a28f6
Reviewed-on: https://gerrit.libreoffice.org/40714
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/inc/DocumentHandler.hxx | 2 | ||||
-rw-r--r-- | writerperfect/source/common/DocumentHandler.cxx | 2 | ||||
-rw-r--r-- | writerperfect/source/common/WPFTEncodingDialog.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/writerperfect/inc/DocumentHandler.hxx b/writerperfect/inc/DocumentHandler.hxx index af4e128bd411..dfa658adc592 100644 --- a/writerperfect/inc/DocumentHandler.hxx +++ b/writerperfect/inc/DocumentHandler.hxx @@ -51,7 +51,7 @@ namespace writerperfect class WRITERPERFECT_DLLPUBLIC DocumentHandler: public OdfDocumentHandler { public: - DocumentHandler(css::uno::Reference < css::xml::sax::XDocumentHandler > &xHandler); + DocumentHandler(css::uno::Reference < css::xml::sax::XDocumentHandler > const &xHandler); void startDocument() override; void endDocument() override; void startElement(const char *psName, const librevenge::RVNGPropertyList &xPropList) override; diff --git a/writerperfect/source/common/DocumentHandler.cxx b/writerperfect/source/common/DocumentHandler.cxx index a38f8fc0fcf8..414491bdecc0 100644 --- a/writerperfect/source/common/DocumentHandler.cxx +++ b/writerperfect/source/common/DocumentHandler.cxx @@ -110,7 +110,7 @@ using com::sun::star::uno::Reference; using com::sun::star::xml::sax::XAttributeList; using com::sun::star::xml::sax::XDocumentHandler; -DocumentHandler::DocumentHandler(Reference < XDocumentHandler > &xHandler) : +DocumentHandler::DocumentHandler(Reference < XDocumentHandler > const &xHandler) : mxHandler(xHandler) { if (SvXMLImport *pFastHandler = dynamic_cast<SvXMLImport *>(mxHandler.get())) diff --git a/writerperfect/source/common/WPFTEncodingDialog.cxx b/writerperfect/source/common/WPFTEncodingDialog.cxx index 448d7b82ccbe..69f9988e64ed 100644 --- a/writerperfect/source/common/WPFTEncodingDialog.cxx +++ b/writerperfect/source/common/WPFTEncodingDialog.cxx @@ -102,7 +102,7 @@ void selectEncoding(ListBox *box, const OUString &encoding) } } -OUString getEncoding(ListBox *box) +OUString getEncoding(ListBox const *box) { sal_uIntPtr pos = reinterpret_cast<sal_uIntPtr>(box->GetSelectEntryData()); if (pos>=numEncodings) |