summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/instancelocker.cxx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-04-13 21:42:04 +0200
committerCaolán McNamara <caolanm@redhat.com>2019-04-19 11:31:19 +0200
commit368f20001c0d152f48575335757e3c3c3b7e5750 (patch)
tree4b31d53a04f5033704962ca513197b2e9274697a /comphelper/source/misc/instancelocker.cxx
parentc618b8eae79b8d87ad5002466ef59c5694d4cea0 (diff)
tdf#42949 Fix IWYU warnings in comphelper
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Also re-evaluate some blacklisted headers and recheck include/comphelper/ Change-Id: Ib7eea5951e849c07cea2e2782be4e8945f71ad96 Reviewed-on: https://gerrit.libreoffice.org/70899 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'comphelper/source/misc/instancelocker.cxx')
-rw-r--r--comphelper/source/misc/instancelocker.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/comphelper/source/misc/instancelocker.cxx b/comphelper/source/misc/instancelocker.cxx
index cf7a2cfaf218..21b165fe1d8a 100644
--- a/comphelper/source/misc/instancelocker.cxx
+++ b/comphelper/source/misc/instancelocker.cxx
@@ -19,8 +19,8 @@
#include <cppuhelper/supportsservice.hxx>
+#include <comphelper/interfacecontainer2.hxx>
-#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/CloseVetoException.hpp>
#include <com/sun/star/util/XCloseBroadcaster.hpp>
#include <com/sun/star/util/XCloseable.hpp>
@@ -29,10 +29,13 @@
#include <com/sun/star/frame/XDesktop.hpp>
#include <com/sun/star/frame/TerminationVetoException.hpp>
#include <com/sun/star/frame/DoubleInitializationException.hpp>
-#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/embed/Actions.hpp>
+#include <com/sun/star/embed/XActionsApproval.hpp>
#include "instancelocker.hxx"
+namespace com::sun::star::uno { class XComponentContext; }
+
using namespace ::com::sun::star;