summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-11-08 21:17:54 +0100
committerMichael Stahl <michael.stahl@cib.de>2020-11-12 10:53:07 +0100
commita5389cb5ddcd72e494040e7a976c4f290e2da4cc (patch)
tree6269a4543f96026f47b8d0756fd4d86a73be46f7 /forms
parent64dcfe295762864656bc5876da10bec37b7fb6ec (diff)
tdf#42949 Fix new IWYU warnings in directories [e-f]*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I963aa5fb892a0be36212fd0587b69f217f017947 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105469 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'forms')
-rw-r--r--forms/IwyuFilter_forms.yaml9
-rw-r--r--forms/source/richtext/rtattributehandler.cxx1
-rw-r--r--forms/source/solar/control/navtoolbar.cxx1
-rw-r--r--forms/source/xforms/convert.cxx2
4 files changed, 9 insertions, 4 deletions
diff --git a/forms/IwyuFilter_forms.yaml b/forms/IwyuFilter_forms.yaml
index 90ef1452e50b..51ae8148e320 100644
--- a/forms/IwyuFilter_forms.yaml
+++ b/forms/IwyuFilter_forms.yaml
@@ -22,9 +22,15 @@ excludelist:
- com/sun/star/io/XObjectInputStream.hpp
- com/sun/star/io/XObjectOutputStream.hpp
- tools/datetime.hxx
+ forms/source/component/ImageControl.cxx:
+ # Needed for template
+ - com/sun/star/ui/dialogs/XFilePicker3.hpp
forms/source/component/imgprod.cxx:
# Actually used
- com/sun/star/io/XInputStream.hpp
+ forms/source/component/scrollbar.cxx:
+ # Needed for rtl::math::round
+ - rtl/math.hxx
forms/source/richtext/parametrizedattributedispatcher.cxx:
# Actually used
- com/sun/star/beans/PropertyValue.hpp
@@ -33,6 +39,9 @@ excludelist:
- com/sun/star/lang/Locale.hpp
# Needed for macro defines to work
- editeng/unoprnms.hxx
+ forms/source/runtime/formoperations.cxx:
+ # Needed for template
+ - com/sun/star/sdbc/XConnection.hpp
forms/source/solar/component/navbarcontrol.cxx:
# Actually used
- com/sun/star/awt/XControlModel.hpp
diff --git a/forms/source/richtext/rtattributehandler.cxx b/forms/source/richtext/rtattributehandler.cxx
index ee7a3fe73b77..e1a9c231d71a 100644
--- a/forms/source/richtext/rtattributehandler.cxx
+++ b/forms/source/richtext/rtattributehandler.cxx
@@ -29,7 +29,6 @@
#include <vcl/outdev.hxx>
#include <editeng/adjustitem.hxx>
-#include <editeng/wghtitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/lspcitem.hxx>
#include <editeng/fhgtitem.hxx>
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx
index 07480edc690b..e6497a8ea939 100644
--- a/forms/source/solar/control/navtoolbar.cxx
+++ b/forms/source/solar/control/navtoolbar.cxx
@@ -29,7 +29,6 @@
#include <svx/labelitemwindow.hxx>
-#include <vcl/event.hxx>
#include <vcl/commandinfoprovider.hxx>
#include <vcl/toolbox.hxx>
diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx
index 55398f8a2c5c..d68018f47d22 100644
--- a/forms/source/xforms/convert.cxx
+++ b/forms/source/xforms/convert.cxx
@@ -21,7 +21,6 @@
#include "convert.hxx"
#include <sstream>
-#include <o3tl/functional.hxx>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
@@ -37,7 +36,6 @@ using xforms::Convert;
using com::sun::star::uno::Any;
using com::sun::star::uno::makeAny;
using namespace std;
-using namespace o3tl;
using namespace utl;
Convert::Convert()