desktop/IwyuFilter_desktop.yaml |    2 --
 desktop/source/app/appinit.cxx  |    5 ++++-
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 93428fd81ff278b0a81e652d8f5859f7e84a2939
Author:     Stephan Bergmann <stephan.bergm...@collabora.com>
AuthorDate: Tue Sep 16 20:47:39 2025 +0200
Commit:     Stephan Bergmann <stephan.bergm...@collabora.com>
CommitDate: Wed Sep 17 11:34:47 2025 +0200

    No need for an IWYU exception
    
    ...following up on deb8edf91763929520c9f47bdcca672c4dc2134d "Add IWYU 
exception"
    and 414a91c9e0346d28d7a6a305ee281c5e94bfbb34 "Fix Tinderbox Linux WASM 
following
    'IWYU on desktop'" (and cf. 8bf0692331c335fc285794de8858eb555b19e1d1 "Fix
    missing include for Emscripten build")
    
    Change-Id: I4fc46e843f070b5746b2781375f0007ee0c9c0de
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191044
    Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
    Tested-by: Jenkins

diff --git a/desktop/IwyuFilter_desktop.yaml b/desktop/IwyuFilter_desktop.yaml
index 91560b29331f..4cae45405f73 100644
--- a/desktop/IwyuFilter_desktop.yaml
+++ b/desktop/IwyuFilter_desktop.yaml
@@ -20,8 +20,6 @@ excludelist:
     desktop/source/app/appinit.cxx:
     # Needed on IOS
     - rtl/bootstrap.hxx
-    # Needed for EMSCRIPTEN build
-    - initjsunoscripting.hxx
     desktop/source/app/cmdlineargs.cxx:
     # Don't propose hxx -> h change in URE libs
     - osl/thread.hxx
diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx
index f4fd9c621c87..8f92acecbb40 100644
--- a/desktop/source/app/appinit.cxx
+++ b/desktop/source/app/appinit.cxx
@@ -23,7 +23,6 @@
 
 #include <app.hxx>
 #include <dp_shared.hxx>
-#include <initjsunoscripting.hxx>
 #include "cmdlineargs.hxx"
 #include <strings.hrc>
 #include <com/sun/star/lang/XInitialization.hpp>
@@ -46,6 +45,10 @@
 #include <iostream>
 #include <map>
 
+#if defined EMSCRIPTEN
+#include <initjsunoscripting.hxx>
+#endif
+
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::ucb;

Reply via email to