compilerplugins/clang/indentation.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 721c4faa50d12bb5bbff27cb9fb0c3beca8a5886
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Mar 22 11:08:00 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Mar 22 14:15:52 2022 +0100

    Adapt loplugin:indentation to --enable-qt6
    
    > In file included from vcl/qt6/QtClipboard.cxx:10:
    > vcl/qt6/../qt5/QtClipboard.cxx:142:16: error: statement mis-aligned 
compared to neighbours  [loplugin:indentation]
    >         Q_EMIT clearClipboard();
    >                ^
    
    etc.
    
    Change-Id: I8ceacfd5eafe963699d8313d3f8cadbed4ccd260
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131929
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/compilerplugins/clang/indentation.cxx 
b/compilerplugins/clang/indentation.cxx
index 9ac5f3d7e521..cf2512d1d25d 100644
--- a/compilerplugins/clang/indentation.cxx
+++ b/compilerplugins/clang/indentation.cxx
@@ -51,6 +51,7 @@ public:
             return false;
         // the QEMIT macros
         if (loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/qt5/")
+            || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/qt6/")
             || loplugin::isSamePathname(fn, SRCDIR 
"/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx"))
             return false;
         return true;

Reply via email to