sw/inc/ndtxt.hxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 204117b21d16ff28c7ee9b2f7e59b37310864c7e
Author: Mike Kaganski <[email protected]>
AuthorDate: Mon Jan 26 09:31:39 2026 +0100
Commit: Mike Kaganski <[email protected]>
CommitDate: Mon Jan 26 14:10:13 2026 +0100
Fix non-pch Windows build
... after commit c880d2bec8907db17ef92220a16f09a7c55c0e6a
(Fix some non self contained headers in module sw, 2026-01-25).
The change in sw/inc/ndtxt.hxx created circular dependency:
- sw/source/core/access/parachangetrackinginfo.cxx
- #include <wrong.hxx> (executes #pragma once, will not be included again)
- #include <ndtxt.hxx> (at the beginning of wrong.hxx, only on Windows;
before its classes are read)
- #include "../source/core/inc/wrong.hxx" (ignored because of #pragma
once)
- #include "../source/core/inc/SwGrammarMarkUp.hxx" (needs access to
definitions in wrong.hxx, yet unavailable)
Resulting in
C:\lo C:\lo C:\lo C:\lo C:\lo C:\lo Change-Id:
I868902d6d0552832c4db3aefdba8ee76fa19bce1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198124
Reviewed-by: Mike Kaganski <[email protected]>
Tested-by: Jenkins
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index e1f50bd6c450..dcbe11e4b7d6 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -30,8 +30,6 @@
#include "ndhints.hxx"
#include "node.hxx"
#include "paratr.hxx"
-#include "../source/core/inc/wrong.hxx"
-#include "../source/core/inc/SwGrammarMarkUp.hxx"
#include <sfx2/Metadatable.hxx>
#include <unotools/weakref.hxx>