summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-26 14:06:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-26 14:06:45 +0200
commit2a807ca13748af3ef82f4720c497a511b30a3ec7 (patch)
tree54cc048e9aa1ed276b3799cebdf445f9ab2bb57f /pyuno
parentc44021f754148dda502c700716c54efd1c6e7cf9 (diff)
loplugin:passstuffbyref
Change-Id: I66410932347b4f65c4b24b5316009ecffc8aef06
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index c4f82d35e658..8c6fc5f67a04 100644
--- a/pyuno/source/module/pyuno.cxx
+++ b/pyuno/source/module/pyuno.cxx
@@ -358,7 +358,7 @@ int lcl_PySlice_GetIndicesEx( PyObject *pObject, sal_Int32 nLen, sal_Int32 *nSta
return 0;
}
-bool lcl_hasInterfaceByName( Any &object, OUString interfaceName )
+bool lcl_hasInterfaceByName( Any const &object, OUString const & interfaceName )
{
Reference< XInterface > xInterface( object, UNO_QUERY );
TypeDescription typeDesc( interfaceName );