[Libreoffice-commits] core.git: include/sfx2 sd/IwyuFilter_sd.yaml sd/source

Gabor Kelemen kelemeng at ubuntu.com
Sun Jun 17 17:49:48 UTC 2018


 include/sfx2/shell.hxx               |    1 +
 sd/IwyuFilter_sd.yaml                |    3 ---
 sd/source/ui/inc/BezierObjectBar.hxx |    2 --
 3 files changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 9ffd3ee80f28d9c7e6f1cbf48055095764249ed6
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Sun Jun 17 09:55:12 2018 +0200

    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 at ok.de>

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;


More information about the Libreoffice-commits mailing list