summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-03-31 09:20:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2023-03-31 09:10:32 +0000
commit09b00e959d587058a57be01abccf9873022c969b (patch)
treec256de1be7defa8aa7ac154d29aac6c3c4f33ad2 /chart2/source
parent341ff232aec77c2b46325389da933315613b6f2d (diff)
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 <caolanm@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 <caolanm@redhat.com>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/inc/DataSeries.hxx9
1 files changed, 6 insertions, 3 deletions
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();