summaryrefslogtreecommitdiff
path: root/cppu/source/typelib/static_types.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 13:56:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-19 16:54:50 +0200
commitfbf1e4a5d3b6f35b7d6510755ebf58c87f566da0 (patch)
treecbe775c6110d61e403ea5ef8689618107495c85b /cppu/source/typelib/static_types.cxx
parent8ea031a817a5451b949720c961d963453b032eaf (diff)
loplugin:constparams in cppu
Change-Id: I0e772b8cf4ee281b5f3e26131df985607a569c48 Reviewed-on: https://gerrit.libreoffice.org/40156 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppu/source/typelib/static_types.cxx')
-rw-r--r--cppu/source/typelib/static_types.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/typelib/static_types.cxx b/cppu/source/typelib/static_types.cxx
index 0a7c1ac1a9e8..1f95dfd93fad 100644
--- a/cppu/source/typelib/static_types.cxx
+++ b/cppu/source/typelib/static_types.cxx
@@ -96,7 +96,7 @@ namespace
}
// !for NOT REALLY WEAK TYPES only!
-static inline typelib_TypeDescriptionReference * igetTypeByName( rtl_uString * pTypeName )
+static inline typelib_TypeDescriptionReference * igetTypeByName( rtl_uString const * pTypeName )
{
typelib_TypeDescriptionReference * pRef = nullptr;
::typelib_typedescriptionreference_getByName( &pRef, pTypeName );