summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-06-17 09:55:12 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2018-06-17 19:49:26 +0200
commit9ffd3ee80f28d9c7e6f1cbf48055095764249ed6 (patch)
treea2e8e64ee60495516d84815ddee58b395053bd7d
parent7958091b06954a7b253fdebb9ea0313db9217959 (diff)
tdf#42949 Add a class declaration to include/sfx2/shell.hxx
This is necessary to not get IWYU warnings or build errors where SFX_DECL_INTERFACE is used Also remove an earlier workaround in sd Change-Id: I4cc86f7ad0c83aeaae225ee05af34fa49ba67e73 Reviewed-on: https://gerrit.libreoffice.org/55955 Tested-by: Jenkins Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
-rw-r--r--include/sfx2/shell.hxx1
-rw-r--r--sd/IwyuFilter_sd.yaml3
-rw-r--r--sd/source/ui/inc/BezierObjectBar.hxx2
3 files changed, 1 insertions, 5 deletions
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index 8b6bd28dbe30..7aeeed54bdd2 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -56,6 +56,7 @@ class SfxRepeatTarget;
class SbxVariable;
class SbxBase;
class SfxBindings;
+class SfxModule;
namespace svl
{
diff --git a/sd/IwyuFilter_sd.yaml b/sd/IwyuFilter_sd.yaml
index e2f247d74408..7fa7e749560c 100644
--- a/sd/IwyuFilter_sd.yaml
+++ b/sd/IwyuFilter_sd.yaml
@@ -108,9 +108,6 @@ blacklist:
- com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
- com/sun/star/accessibility/XAccessibleSelection.hpp
- com/sun/star/lang/XServiceInfo.hpp
- sd/source/ui/inc/BezierObjectBar.hxx:
- # Used via macro, really needed to compile
- - class SfxModule
sd/source/ui/inc/DrawDocShell.hxx:
# base class has to be a complete type
- fupoor.hxx
diff --git a/sd/source/ui/inc/BezierObjectBar.hxx b/sd/source/ui/inc/BezierObjectBar.hxx
index 8d1def00f313..3da03be2a2f9 100644
--- a/sd/source/ui/inc/BezierObjectBar.hxx
+++ b/sd/source/ui/inc/BezierObjectBar.hxx
@@ -23,8 +23,6 @@
#include <sfx2/shell.hxx>
#include <glob.hxx>
-class SfxModule;
-
namespace sd {
class View;