[Libreoffice-commits] core.git: pyuno/source
Stephan Bergmann
sbergman at redhat.com
Fri Jun 26 05:07:18 PDT 2015
pyuno/source/module/pyuno.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2a807ca13748af3ef82f4720c497a511b30a3ec7
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jun 26 14:06:45 2015 +0200
loplugin:passstuffbyref
Change-Id: I66410932347b4f65c4b24b5316009ecffc8aef06
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index c4f82d3..8c6fc5f 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 );
More information about the Libreoffice-commits
mailing list