summaryrefslogtreecommitdiff
path: root/svx/source/table
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-01-11 20:33:56 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-01-15 15:42:02 +0100
commit89f8141692452a8c7df56d2853f201eef486f82e (patch)
tree3631610de6b8add336f198efd60ddd903f05b1cc /svx/source/table
parentb8f02637131fcfa499a6397914fdf4687c88053d (diff)
tdf#42949 Fix IWYU warnings in svx/source/*/*hxx
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I2c846dba43bec95b2ef2739ee9c0940880f51c1c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86621 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svx/source/table')
-rw-r--r--svx/source/table/accessiblecell.cxx1
-rw-r--r--svx/source/table/accessiblecell.hxx6
-rw-r--r--svx/source/table/accessibletableshape.cxx2
-rw-r--r--svx/source/table/propertyset.hxx1
-rw-r--r--svx/source/table/tablecolumn.cxx1
-rw-r--r--svx/source/table/tablecolumn.hxx2
-rw-r--r--svx/source/table/tablecolumns.cxx1
-rw-r--r--svx/source/table/tablecolumns.hxx2
-rw-r--r--svx/source/table/tablehandles.hxx2
-rw-r--r--svx/source/table/tablelayouter.hxx5
-rw-r--r--svx/source/table/tablerow.hxx2
-rw-r--r--svx/source/table/tablerows.hxx2
-rw-r--r--svx/source/table/tableundo.hxx1
13 files changed, 11 insertions, 17 deletions
diff --git a/svx/source/table/accessiblecell.cxx b/svx/source/table/accessiblecell.cxx
index 77c91a0db481..1b0fbc5cc246 100644
--- a/svx/source/table/accessiblecell.cxx
+++ b/svx/source/table/accessiblecell.cxx
@@ -24,6 +24,7 @@
#include <utility>
#include "accessiblecell.hxx"
+#include <cell.hxx>
#include <svx/DescriptionGenerator.hxx>
diff --git a/svx/source/table/accessiblecell.hxx b/svx/source/table/accessiblecell.hxx
index e3fc510dbfcd..ca908ea2d2c8 100644
--- a/svx/source/table/accessiblecell.hxx
+++ b/svx/source/table/accessiblecell.hxx
@@ -22,10 +22,6 @@
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/accessibility/XAccessibleExtendedComponent.hpp>
-#include <com/sun/star/accessibility/AccessibleRole.hpp>
-#include <com/sun/star/drawing/XShape.hpp>
-
-#include <rtl/ref.hxx>
#include <editeng/AccessibleContextBase.hxx>
#include <editeng/AccessibleComponentBase.hxx>
@@ -36,7 +32,7 @@
#include <cppuhelper/implbase.hxx>
-#include <cell.hxx>
+#include <celltypes.hxx>
namespace accessibility
diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx
index bab37ae9ffc5..38b8ff5b03b0 100644
--- a/svx/source/table/accessibletableshape.cxx
+++ b/svx/source/table/accessibletableshape.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/table/XMergeableCell.hpp>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
+#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <comphelper/accessiblewrapper.hxx>
@@ -29,6 +30,7 @@
#include <AccessibleTableShape.hxx>
#include <svx/sdr/table/tablecontroller.hxx>
#include "accessiblecell.hxx"
+#include <cell.hxx>
#include <algorithm>
#include <unordered_map>
diff --git a/svx/source/table/propertyset.hxx b/svx/source/table/propertyset.hxx
index d04bd858a6a5..539beff0775a 100644
--- a/svx/source/table/propertyset.hxx
+++ b/svx/source/table/propertyset.hxx
@@ -24,7 +24,6 @@
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/beans/XFastPropertySet.hpp>
#include <rtl/ref.hxx>
-#include <functional>
#include <unordered_map>
#include <vector>
diff --git a/svx/source/table/tablecolumn.cxx b/svx/source/table/tablecolumn.cxx
index 016746a1eea9..d9e33db47525 100644
--- a/svx/source/table/tablecolumn.cxx
+++ b/svx/source/table/tablecolumn.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
+#include <tablemodel.hxx>
#include "tablecolumn.hxx"
#include "tableundo.hxx"
#include <svx/svdmodel.hxx>
diff --git a/svx/source/table/tablecolumn.hxx b/svx/source/table/tablecolumn.hxx
index 691bb69b4593..2a1441379eac 100644
--- a/svx/source/table/tablecolumn.hxx
+++ b/svx/source/table/tablecolumn.hxx
@@ -25,7 +25,7 @@
#include <cppuhelper/implbase.hxx>
#include "propertyset.hxx"
-#include <tablemodel.hxx>
+#include <celltypes.hxx>
namespace sdr { namespace table {
diff --git a/svx/source/table/tablecolumns.cxx b/svx/source/table/tablecolumns.cxx
index 1b033c14eae0..a9a37e5ef426 100644
--- a/svx/source/table/tablecolumns.cxx
+++ b/svx/source/table/tablecolumns.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
+#include <tablemodel.hxx>
#include "tablecolumns.hxx"
#include "tablecolumn.hxx"
diff --git a/svx/source/table/tablecolumns.hxx b/svx/source/table/tablecolumns.hxx
index 97d77d3e9054..8780adf84a36 100644
--- a/svx/source/table/tablecolumns.hxx
+++ b/svx/source/table/tablecolumns.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/table/XTableColumns.hpp>
#include <cppuhelper/implbase1.hxx>
-#include <tablemodel.hxx>
+#include <celltypes.hxx>
namespace sdr { namespace table {
diff --git a/svx/source/table/tablehandles.hxx b/svx/source/table/tablehandles.hxx
index 1e651bc47533..f7d69fab07a1 100644
--- a/svx/source/table/tablehandles.hxx
+++ b/svx/source/table/tablehandles.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_SVX_SOURCE_TABLE_TABLEHANDLES_HXX
#define INCLUDED_SVX_SOURCE_TABLE_TABLEHANDLES_HXX
-#include <svx/sdr/overlay/overlayobject.hxx>
-
#include <svx/svdhdl.hxx>
diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx
index ba402b262ea0..7978f6913619 100644
--- a/svx/source/table/tablelayouter.hxx
+++ b/svx/source/table/tablelayouter.hxx
@@ -20,16 +20,13 @@
#ifndef INCLUDED_SVX_SOURCE_TABLE_TABLELAYOUTER_HXX
#define INCLUDED_SVX_SOURCE_TABLE_TABLELAYOUTER_HXX
-#include <com/sun/star/container/XIndexAccess.hpp>
-#include <com/sun/star/text/WritingMode.hpp>
-#include <com/sun/star/table/XTable.hpp>
#include <sal/types.h>
#include <basegfx/range/b2irectangle.hxx>
#include <basegfx/tuple/b2ituple.hxx>
#include <vector>
-#include <map>
#include <svx/svdotable.hxx>
+#include <celltypes.hxx>
namespace tools { class Rectangle; }
diff --git a/svx/source/table/tablerow.hxx b/svx/source/table/tablerow.hxx
index 5c14452831b1..bc4608f07013 100644
--- a/svx/source/table/tablerow.hxx
+++ b/svx/source/table/tablerow.hxx
@@ -25,7 +25,7 @@
#include <cppuhelper/implbase.hxx>
#include "propertyset.hxx"
-#include <tablemodel.hxx>
+#include <celltypes.hxx>
namespace sdr { namespace table {
diff --git a/svx/source/table/tablerows.hxx b/svx/source/table/tablerows.hxx
index f2d5ca571271..12ac433742eb 100644
--- a/svx/source/table/tablerows.hxx
+++ b/svx/source/table/tablerows.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/table/XTableRows.hpp>
#include <cppuhelper/implbase1.hxx>
-#include <tablemodel.hxx>
+#include <celltypes.hxx>
namespace sdr { namespace table {
diff --git a/svx/source/table/tableundo.hxx b/svx/source/table/tableundo.hxx
index 33231cdca451..72968311747f 100644
--- a/svx/source/table/tableundo.hxx
+++ b/svx/source/table/tableundo.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SVX_SOURCE_TABLE_TABLEUNDO_HXX
#include <com/sun/star/container/XIndexAccess.hpp>
-#include <com/sun/star/table/CellContentType.hpp>
#include <svx/svdotable.hxx>
#include <svx/svdobj.hxx>