summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-21 11:52:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-21 17:11:15 +0200
commitec340697d682bd7d0a361c8c701e513329c032bd (patch)
tree97fddfce1e5cf6ad94fc32653b261a1668441ce0 /cppuhelper
parent7a7cba91a60c1c6d6645dfb8c7e88c5c6318ddee (diff)
loplugin:constparams in soltools and various
Change-Id: I5e8e4a9a31aa7c3ff54cc7ce137d08770ea297e1 Reviewed-on: https://gerrit.libreoffice.org/40279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/implbase_ex.cxx2
-rw-r--r--cppuhelper/source/servicemanager.cxx2
-rw-r--r--cppuhelper/source/servicemanager.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/implbase_ex.cxx b/cppuhelper/source/implbase_ex.cxx
index 6025db018543..2b7b792e718a 100644
--- a/cppuhelper/source/implbase_ex.cxx
+++ b/cppuhelper/source/implbase_ex.cxx
@@ -163,7 +163,7 @@ bool recursivelyFindType(
}
static inline void * queryDeepNoXInterface(
- typelib_TypeDescriptionReference * pDemandedTDR, class_data * cd, void * that )
+ typelib_TypeDescriptionReference const * pDemandedTDR, class_data * cd, void * that )
{
type_entry * pEntries = getTypeEntries( cd );
sal_Int32 nTypes = cd->m_nTypes;
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx
index e3ddaee00798..5faee9a129b0 100644
--- a/cppuhelper/source/servicemanager.cxx
+++ b/cppuhelper/source/servicemanager.cxx
@@ -756,7 +756,7 @@ void cppuhelper::ServiceManager::addSingletonContextEntries(
void cppuhelper::ServiceManager::loadImplementation(
css::uno::Reference< css::uno::XComponentContext > const & context,
- std::shared_ptr< Data::Implementation > & implementation)
+ std::shared_ptr< Data::Implementation > const & implementation)
{
assert(implementation.get() != nullptr);
{
diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx
index 1252b9dab37f..e36cff41e984 100644
--- a/cppuhelper/source/servicemanager.hxx
+++ b/cppuhelper/source/servicemanager.hxx
@@ -218,7 +218,7 @@ public:
void loadImplementation(
css::uno::Reference< css::uno::XComponentContext > const & context,
- std::shared_ptr< Data::Implementation > & implementation);
+ std::shared_ptr< Data::Implementation > const & implementation);
private:
virtual ~ServiceManager() override;