sw/inc/calbck.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 315c6873664b861ed8ece335b51602e66fe3f1ca
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Thu Oct 2 08:31:29 2025 +0200
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Fri Oct 10 22:11:34 2025 +0200

    Add space to template declaration
    
    to appease bin/find-unneeded-includes
    
    For some reason, in the IWYU output this appears with a space
    and --sanitycheck would indicate this line as unnecessary
    in the yaml file
    
    But in --fwdecl mode there is a false warning about it, so
    it it necessary at least with IWYU 0.24
    
    Adding the space here allows both mode to work correctly
    
    Change-Id: Ice08e4dcbdbe79e9f86b81cff3d95fe5d6afb536
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191825
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>

diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx
index 5c9dec7d389d..a86911f34e9b 100644
--- a/sw/inc/calbck.hxx
+++ b/sw/inc/calbck.hxx
@@ -73,7 +73,7 @@ namespace sw
     enum class IteratorMode { Exact, UnwrapMulti };
 }
 
-template<typename TElementType, typename TSource, sw::IteratorMode eMode> 
class SwIterator;
+template <typename TElementType, typename TSource, sw::IteratorMode eMode> 
class SwIterator;
 
 namespace sw
 {

Reply via email to