summaryrefslogtreecommitdiff
path: root/pyuno/inc
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-03-10 19:34:35 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-04-26 09:07:59 +0200
commit2460816491fe8593e8c7b13caf596383484b3031 (patch)
tree06b54b8007a2c67a6012b9e85fc44d13f1f557e5 /pyuno/inc
parentff17478e069cc82681df62514876c06365dd5cd6 (diff)
tdf#42949 Fix IWYU warnings in pyuno/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I95575d41a822ff7b1ac5bdba03057f6d3fa61b51 Reviewed-on: https://gerrit.libreoffice.org/71141 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'pyuno/inc')
-rw-r--r--pyuno/inc/pyuno.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/pyuno/inc/pyuno.hxx b/pyuno/inc/pyuno.hxx
index 04c42de6e93f..a8680b6c4d3a 100644
--- a/pyuno/inc/pyuno.hxx
+++ b/pyuno/inc/pyuno.hxx
@@ -23,9 +23,11 @@
#ifndef Py_PYTHON_H
#include <Python.h>
#endif // #ifdef Py_PYTHON_H
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/script/CannotConvertException.hpp>
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
+
+#include <com/sun/star/uno/Any.hxx>
+
+namespace com::sun::star::uno { class XComponentContext; }
+namespace com::sun::star::uno { template <typename > class Reference; }
/**
External interface of the Python UNO bridge.
@@ -151,7 +153,7 @@ public:
};
};
-struct stRuntimeImpl;
+//struct stRuntimeImpl;
typedef struct stRuntimeImpl RuntimeImpl;
enum ConversionMode { ACCEPT_UNO_ANY, REJECT_UNO_ANY };