diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-23 22:11:27 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-23 22:11:52 +0200 |
commit | ac76cc7e605b1bc9c0ff8e24d0b9995a8247074e (patch) | |
tree | 797df8cc9387fa70a0c09e574f49714ce4dc6710 /pyuno | |
parent | 3191d7d1302dbde2445b9f300b3eb853120ede65 (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index 49a932329823..5a3e6ca218bf 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -592,7 +592,7 @@ static Sequence< Type > invokeGetTypes( const Runtime & r , PyObject * o ) Any a = r.pyObject2Any(PyTuple_GetItem(types.get(),i)); a >>= ret[i]; } - ret[size] = getCppuType( (Reference< com::sun::star::lang::XUnoTunnel> *) 0 ); + ret[size] = cppu::UnoType<com::sun::star::lang::XUnoTunnel>::get(); } } return ret; |