summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_impl.hxx
diff options
context:
space:
mode:
authorMatthew J. Francis <mjay.francis@gmail.com>2015-07-23 11:36:38 +0800
committerMatthew Francis <mjay.francis@gmail.com>2015-07-27 07:40:34 +0000
commit9c5a217681935d661aad4d5667a775319382d22a (patch)
tree29c94ae9316f3a8899ffa8a7ecaf6123e15748b4 /pyuno/source/module/pyuno_impl.hxx
parent165c939818b18d68216864600097b99e5d8c2266 (diff)
Tweak introspection/invocation to be more useful to PyUNO
- Make introspection/invocation handle XNameReplace and XIndexReplace - Make introspection handle XUnoTunnel - Adapt PyUNO to take advantage of the additionally handled interfaces Change-Id: Ie848d10fd2c31cad76fcc3a746262a490a2c9ae1 Reviewed-on: https://gerrit.libreoffice.org/17314 Reviewed-by: Matthew Francis <mjay.francis@gmail.com> Tested-by: Matthew Francis <mjay.francis@gmail.com>
Diffstat (limited to 'pyuno/source/module/pyuno_impl.hxx')
-rw-r--r--pyuno/source/module/pyuno_impl.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx
index 11fbfa27e73f..669386f090e0 100644
--- a/pyuno/source/module/pyuno_impl.hxx
+++ b/pyuno/source/module/pyuno_impl.hxx
@@ -205,13 +205,10 @@ typedef std::unordered_set< PyRef , PyRef::Hash , std::equal_to<PyRef> > ClassSe
int PyUNO_initType();
-PyObject* PyUNO_new(
+PyRef PyUNO_new (
const com::sun::star::uno::Any & targetInterface,
- const com::sun::star::uno::Reference<com::sun::star::lang::XSingleServiceFactory> & ssf);
-
-PyObject* PyUNO_new_UNCHECKED (
- const com::sun::star::uno::Any & targetInterface,
- const com::sun::star::uno::Reference<com::sun::star::lang::XSingleServiceFactory> & ssf);
+ const com::sun::star::uno::Reference<com::sun::star::lang::XSingleServiceFactory> & ssf,
+ const bool bCheckExisting );
typedef struct
{