summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-05 16:11:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-06 06:47:21 +0100
commit83db9afa20b8cf54b522ca9c3f04e7e267684c59 (patch)
treecad0d77f0a76ce8f25e39d72be809f318677bbe2 /pyuno
parenta2e3705d8b3b05ae664d54b762d6ff72927d5e48 (diff)
remove some unnecessary typedef struct... sugar
Change-Id: I1576282b0a0a3af8ae14c04725d9c4900073f2c4 Reviewed-on: https://gerrit.libreoffice.org/68758 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_callable.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx
index 4269b09b21e3..a58ac8b8e6eb 100644
--- a/pyuno/source/module/pyuno_callable.cxx
+++ b/pyuno/source/module/pyuno_callable.cxx
@@ -30,18 +30,18 @@ using com::sun::star::script::XInvocation2;
namespace pyuno
{
-typedef struct
+struct PyUNO_callable_Internals
{
Reference<XInvocation2> xInvocation;
OUString methodName;
ConversionMode mode;
-} PyUNO_callable_Internals;
+};
-typedef struct
+struct PyUNO_callable
{
PyObject_HEAD
PyUNO_callable_Internals* members;
-} PyUNO_callable;
+};
static void PyUNO_callable_del (PyObject* self)
{