chart2/source/inc/Diagram.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 28fba1a4002cefb6d77f0b682f1d632e18c0967d
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Mar 20 11:50:37 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon Mar 20 14:53:38 2023 +0000

    Don't let workaround for old GCC affect Clang
    
    (which defines __GNUC__ as 4)
    
    Change-Id: I5cf79ed9194150b13e480c91289c42e7bfeed31c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149152
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/chart2/source/inc/Diagram.hxx b/chart2/source/inc/Diagram.hxx
index ee003e1af778..5e4bc2ed1c62 100644
--- a/chart2/source/inc/Diagram.hxx
+++ b/chart2/source/inc/Diagram.hxx
@@ -68,7 +68,7 @@ typedef ::cppu::WeakImplHelper<
 }
 
 class OOO_DLLPUBLIC_CHARTTOOLS Diagram
-#if !defined __GNUC__ || __GNUC__ >= 12
+#if !defined __GNUC__ || __GNUC__ >= 12 || defined __clang__
     final
 #endif
     : public impl::Diagram_Base

Reply via email to