summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-09-07 15:09:44 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-09-24 14:39:20 +0200
commit6b82bbd9e7c3aab343c5e7e9e3fb0bcfc70e2cb7 (patch)
treed59da099ebf1b8871cb8700492b6952f5d611b2e /xmloff/source/forms
parent41d0f5540208f7b86c91804631a141380c397a57 (diff)
tdf#42949 Fix IWYU warnings in xmloff/source/*/*hxx
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Iaad32419c49406a11f7cfb5856b33539d2a2894b Reviewed-on: https://gerrit.libreoffice.org/79077 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/callbacks.hxx1
-rw-r--r--xmloff/source/forms/elementexport.hxx2
-rw-r--r--xmloff/source/forms/elementimport.hxx1
-rw-r--r--xmloff/source/forms/formattributes.hxx4
-rw-r--r--xmloff/source/forms/formcellbinding.hxx1
-rw-r--r--xmloff/source/forms/layerimport.hxx2
-rw-r--r--xmloff/source/forms/officeforms.hxx2
-rw-r--r--xmloff/source/forms/propertyexport.hxx1
8 files changed, 6 insertions, 8 deletions
diff --git a/xmloff/source/forms/callbacks.hxx b/xmloff/source/forms/callbacks.hxx
index afd36ba9b632..99b8840e8904 100644
--- a/xmloff/source/forms/callbacks.hxx
+++ b/xmloff/source/forms/callbacks.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_XMLOFF_SOURCE_FORMS_CALLBACKS_HXX
#include <com/sun/star/container/XIndexAccess.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/script/ScriptEventDescriptor.hpp>
#include <rtl/ref.hxx>
diff --git a/xmloff/source/forms/elementexport.hxx b/xmloff/source/forms/elementexport.hxx
index 18717f29c273..58b66c4f3604 100644
--- a/xmloff/source/forms/elementexport.hxx
+++ b/xmloff/source/forms/elementexport.hxx
@@ -26,8 +26,8 @@
#include <set>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/script/ScriptEventDescriptor.hpp>
+#include <xmloff/xmlexp.hxx>
#include "propertyexport.hxx"
#include "callbacks.hxx"
#include "controlelement.hxx"
diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx
index 8f4939d911de..aa7cdfcc3d52 100644
--- a/xmloff/source/forms/elementimport.hxx
+++ b/xmloff/source/forms/elementimport.hxx
@@ -31,7 +31,6 @@
#include <com/sun/star/text/XTextCursor.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/form/XGridColumnFactory.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <osl/diagnose.h>
diff --git a/xmloff/source/forms/formattributes.hxx b/xmloff/source/forms/formattributes.hxx
index 6de21b913e3b..285ba25fb407 100644
--- a/xmloff/source/forms/formattributes.hxx
+++ b/xmloff/source/forms/formattributes.hxx
@@ -24,9 +24,9 @@
#include <map>
-#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/uno/Type.hxx>
+#include <rtl/ustring.hxx>
#include <sal/types.h>
-#include <salhelper/simplereferenceobject.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <o3tl/typed_flags_set.hxx>
diff --git a/xmloff/source/forms/formcellbinding.hxx b/xmloff/source/forms/formcellbinding.hxx
index d2422fccba48..c59da3917e6f 100644
--- a/xmloff/source/forms/formcellbinding.hxx
+++ b/xmloff/source/forms/formcellbinding.hxx
@@ -26,7 +26,6 @@
#include <com/sun/star/table/CellRangeAddress.hpp>
#include <com/sun/star/form/binding/XValueBinding.hpp>
#include <com/sun/star/form/binding/XListEntrySource.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/frame/XModel.hpp>
namespace xmloff
diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx
index 515fffe464ff..6913803384af 100644
--- a/xmloff/source/forms/layerimport.hxx
+++ b/xmloff/source/forms/layerimport.hxx
@@ -29,9 +29,7 @@
#include <com/sun/star/form/XFormsSupplier2.hpp>
#include <rtl/ref.hxx>
#include "formattributes.hxx"
-#include "callbacks.hxx"
#include "eventimport.hxx"
-#include <tools/ref.hxx>
class SvXMLImport;
class SvXMLImportContext;
diff --git a/xmloff/source/forms/officeforms.hxx b/xmloff/source/forms/officeforms.hxx
index 2567f665219a..1011f523c1b0 100644
--- a/xmloff/source/forms/officeforms.hxx
+++ b/xmloff/source/forms/officeforms.hxx
@@ -20,6 +20,8 @@
#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_OFFICEFORMS_HXX
#define INCLUDED_XMLOFF_SOURCE_FORMS_OFFICEFORMS_HXX
+#include <com/sun/star/beans/XPropertySet.hpp>
+
#include "formattributes.hxx"
#include <xmloff/xmlictxt.hxx>
#include <memory>
diff --git a/xmloff/source/forms/propertyexport.hxx b/xmloff/source/forms/propertyexport.hxx
index e1779d041b6b..d79c8cdb08ca 100644
--- a/xmloff/source/forms/propertyexport.hxx
+++ b/xmloff/source/forms/propertyexport.hxx
@@ -27,6 +27,7 @@
#include "formattributes.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
+#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlexp.hxx>
#include "callbacks.hxx"
#include "strings.hxx"