chart2/source/inc/DataSeries.hxx |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

New commits:
commit 09b00e959d587058a57be01abccf9873022c969b
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Mar 31 09:20:37 2023 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Mar 31 09:10:32 2023 +0000

    crashtesting: XDataSeries OPropertySetHelper::getFastPropertyValue crash
    
    seen with
    
    gcc --version
    gcc (Debian 10.2.1-6) 10.2.1 20210110
    
    similar to
    
    commit ad59487053bcd267b53febde0cecbd64c7f94cc0
    Author: Caolán McNamara <caol...@redhat.com>
    Date:   Sun Mar 19 20:40:35 2023 +0000
    
        crashtesting: frequent XDiagram 
OPropertySetHelper::getFastPropertyValue crash
    
    Change-Id: If190e0c51a0b983165ff6f36bb2185456ea6bade
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149819
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/chart2/source/inc/DataSeries.hxx b/chart2/source/inc/DataSeries.hxx
index 03325a463a12..932fcd836b9a 100644
--- a/chart2/source/inc/DataSeries.hxx
+++ b/chart2/source/inc/DataSeries.hxx
@@ -60,9 +60,12 @@ typedef ::cppu::WeakImplHelper<
     DataSeries_Base;
 }
 
-class OOO_DLLPUBLIC_CHARTTOOLS DataSeries final :
-    public impl::DataSeries_Base,
-    public ::property::OPropertySet
+class OOO_DLLPUBLIC_CHARTTOOLS DataSeries
+#if !defined __GNUC__ || __GNUC__ >= 12 || defined __clang__
+    final
+#endif
+    : public impl::DataSeries_Base
+    , public ::property::OPropertySet
 {
 public:
     explicit DataSeries();

Reply via email to