chart2/source/model/main/ChartModel.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 7b49e7f8a2e4b12de4ebea81e623c651201af11e Author: Stephan Bergmann <stephan.bergm...@collabora.com> AuthorDate: Tue Aug 19 13:59:54 2025 +0200 Commit: Stephan Bergmann <stephan.bergm...@collabora.com> CommitDate: Wed Aug 20 09:05:11 2025 +0200 Silence GCC -Werror=extra > chart2/source/model/main/ChartModel.cxx:149:1: error: base class ‘class SfxListener’ should be explicitly initialized in the copy constructor [-Werror=extra] > 149 | ChartModel::ChartModel( const ChartModel & rOther ) > | ^~~~~~~~~~ ...by backporting the relevant part of the corresponding master cherry-pick e85be683524c59e072912c625be1a4c818d85950 "chart color palette for data series: sidebar panel" Change-Id: I6cff554fdfd9f18cb6fa192ddf47700863bf4889 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189917 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Marco Cecchetti <marco.cecche...@collabora.com> diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index fc4dfff18dcf..2f76b05cd83f 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -148,6 +148,8 @@ ChartModel::ChartModel(uno::Reference<uno::XComponentContext > xContext) ChartModel::ChartModel( const ChartModel & rOther ) : impl::ChartModel_Base(rOther) + // not copy the listener + , SfxListener() , m_aLifeTimeManager( this, this ) , m_bReadOnly( rOther.m_bReadOnly ) , m_bModified( rOther.m_bModified )