summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-08-11 20:24:32 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-11-25 11:45:05 +0100
commitcdda62d60845f1f1a18b461df198e4dbfbc590ef (patch)
treedd77df0355a8b623da080731e543fa1121209d1e /svx/inc
parentc638985dd3a63cdf76b2af67cd890f656a9c38eb (diff)
tdf#42949 Fix new IWYU warnings in directory svx
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: If578c5119b85f991825e91df37c42e28f16e9de5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100555 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/formnavi.hrc2
-rw-r--r--svx/inc/frmsel.hrc1
-rw-r--r--svx/inc/galbrws2.hxx2
-rw-r--r--svx/inc/galobj.hxx1
-rw-r--r--svx/inc/sdr/contact/viewcontactofpageobj.hxx1
-rw-r--r--svx/inc/sdr/primitive2d/sdrdecompositiontools.hxx2
-rw-r--r--svx/inc/spacing.hrc2
-rw-r--r--svx/inc/svxerr.hrc2
8 files changed, 3 insertions, 10 deletions
diff --git a/svx/inc/formnavi.hrc b/svx/inc/formnavi.hrc
index 78271e2f05c4..f105cca63292 100644
--- a/svx/inc/formnavi.hrc
+++ b/svx/inc/formnavi.hrc
@@ -20,8 +20,6 @@
#ifndef INCLUDED_SVX_INC_FRMSEL_HRC
#define INCLUDED_SVX_INC_FRMSEL_HRC
-#include <utility>
-
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
const char* RID_SVXSW_CONVERTMENU[] =
diff --git a/svx/inc/frmsel.hrc b/svx/inc/frmsel.hrc
index da3c258b293c..893d84de2faa 100644
--- a/svx/inc/frmsel.hrc
+++ b/svx/inc/frmsel.hrc
@@ -21,6 +21,7 @@
#define INCLUDED_SVX_INC_FRMSEL_HRC
#include <utility>
+#include <sal/types.h>
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx
index 0ee663835a74..d26044056c7d 100644
--- a/svx/inc/galbrws2.hxx
+++ b/svx/inc/galbrws2.hxx
@@ -23,9 +23,9 @@
#include <vcl/transfer.hxx>
#include <svl/lstner.hxx>
#include <svx/galctrl.hxx>
-#include <svtools/miscopt.hxx>
#include <com/sun/star/frame/XDispatch.hpp>
+#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
diff --git a/svx/inc/galobj.hxx b/svx/inc/galobj.hxx
index 1c2b013bf6f9..29c053baa114 100644
--- a/svx/inc/galobj.hxx
+++ b/svx/inc/galobj.hxx
@@ -25,7 +25,6 @@
#include <vcl/graph.hxx>
#include <vcl/gdimtf.hxx>
#include <svx/galmisc.hxx>
-#include <svx/gallerybinaryengine.hxx>
#define S_THUMB 80
diff --git a/svx/inc/sdr/contact/viewcontactofpageobj.hxx b/svx/inc/sdr/contact/viewcontactofpageobj.hxx
index f7ca5a7efd63..b32fd7cae7f9 100644
--- a/svx/inc/sdr/contact/viewcontactofpageobj.hxx
+++ b/svx/inc/sdr/contact/viewcontactofpageobj.hxx
@@ -20,7 +20,6 @@
#pragma once
#include <svx/sdr/contact/viewcontactofsdrobj.hxx>
-#include <svx/svxdllapi.h>
#include <svx/svdopage.hxx>
class SdrPage;
diff --git a/svx/inc/sdr/primitive2d/sdrdecompositiontools.hxx b/svx/inc/sdr/primitive2d/sdrdecompositiontools.hxx
index 02d77f656263..202354332b55 100644
--- a/svx/inc/sdr/primitive2d/sdrdecompositiontools.hxx
+++ b/svx/inc/sdr/primitive2d/sdrdecompositiontools.hxx
@@ -20,8 +20,8 @@
#pragma once
#include <basegfx/matrix/b2dhommatrix.hxx>
-#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
#include <drawinglayer/attribute/sdrglowattribute.hxx>
+#include <drawinglayer/primitive2d/Primitive2DContainer.hxx>
#include <svx/svxdllapi.h>
diff --git a/svx/inc/spacing.hrc b/svx/inc/spacing.hrc
index b8ca2661c528..8c9ba6da29a2 100644
--- a/svx/inc/spacing.hrc
+++ b/svx/inc/spacing.hrc
@@ -9,8 +9,6 @@
#ifndef INCLUDED_SVX_INC_SPACING_HRC
#define INCLUDED_SVX_INC_SPACING_HRC
-#include <utility>
-
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
struct measurement
diff --git a/svx/inc/svxerr.hrc b/svx/inc/svxerr.hrc
index 79409d118b41..9691386c94e7 100644
--- a/svx/inc/svxerr.hrc
+++ b/svx/inc/svxerr.hrc
@@ -20,8 +20,6 @@
#ifndef INCLUDED_SVX_INC_SVXERR_HRC
#define INCLUDED_SVX_INC_SVXERR_HRC
-#include <utility>
-
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
#include <svx/svxerr.hxx>