summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-11-15 23:17:23 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-12-07 10:39:41 +0100
commit5cfac9be8a55348e7d3bc773aae5bff6b1739080 (patch)
treeb07590d670ab10e622c63cae10e848efe8383bbe /sd/inc
parente70168ec88642dc4940bf6cf7ae49a97afc84916 (diff)
tdf#42949 Fix new IWYU warnings in sd/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I360874fb66c9359abf46a00116d73f87ad122168 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106083 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/Annotation.hxx1
-rw-r--r--sd/inc/errhdl.hrc2
-rw-r--r--sd/inc/helper/simplereferencecomponent.hxx2
-rw-r--r--sd/inc/pageformatpanel.hrc2
-rw-r--r--sd/inc/undo/undomanager.hxx1
5 files changed, 4 insertions, 4 deletions
diff --git a/sd/inc/Annotation.hxx b/sd/inc/Annotation.hxx
index 883512506c78..4c5c16df2639 100644
--- a/sd/inc/Annotation.hxx
+++ b/sd/inc/Annotation.hxx
@@ -28,7 +28,6 @@
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/propertysetmixin.hxx>
-#include "drawdoc.hxx"
#include "sdpage.hxx"
#include "textapi.hxx"
#include "sddllapi.h"
diff --git a/sd/inc/errhdl.hrc b/sd/inc/errhdl.hrc
index 309dbfc47324..57119cc730e9 100644
--- a/sd/inc/errhdl.hrc
+++ b/sd/inc/errhdl.hrc
@@ -22,6 +22,8 @@
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
+#include <svtools/ehdl.hxx>
+#include <vcl/errcode.hxx>
#include "sderror.hxx"
const ErrMsgCode RID_SD_ERRHDL[] =
diff --git a/sd/inc/helper/simplereferencecomponent.hxx b/sd/inc/helper/simplereferencecomponent.hxx
index 153d8573da42..3417f4bda1f7 100644
--- a/sd/inc/helper/simplereferencecomponent.hxx
+++ b/sd/inc/helper/simplereferencecomponent.hxx
@@ -22,8 +22,6 @@
#include <osl/interlck.h>
-#include <sddllapi.h>
-
namespace sd
{
/** A simple base implementation for reference-counted components.
diff --git a/sd/inc/pageformatpanel.hrc b/sd/inc/pageformatpanel.hrc
index 6d45a7957e87..979864a0f5f7 100644
--- a/sd/inc/pageformatpanel.hrc
+++ b/sd/inc/pageformatpanel.hrc
@@ -10,6 +10,8 @@
#ifndef INCLUDED_SD_INC_PAGEFORMATPANEL_HRC
#define INCLUDED_SD_INC_PAGEFORMATPANEL_HRC
+#include <utility>
+
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
namespace sd
diff --git a/sd/inc/undo/undomanager.hxx b/sd/inc/undo/undomanager.hxx
index 57df73cd193a..771af280103f 100644
--- a/sd/inc/undo/undomanager.hxx
+++ b/sd/inc/undo/undomanager.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX
#include <svx/sdrundomanager.hxx>
-#include <sddllapi.h>
namespace sd
{