diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-09 15:28:58 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-05-13 20:05:34 +0200 |
commit | e3deeaf9c6a16b6dedc76c4fafe7e176bf12e5c3 (patch) | |
tree | 59d442942875297d743d07dfd3033b5de7333417 /chart2 | |
parent | 3f87f72ad8bfe93cf971f413c0e5313364acdf61 (diff) |
tdf#155210 FILESAVE ODT Default chart row labels disappear from Writer chart
revert
commit 6500106dff0f0cd86f509ffd01542aab77c21596
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Tue Apr 19 13:48:55 2022 +0200
tdf#148635 no need to init ChartDataWrapper more than once
Change-Id: I28f078731bd8bfedbde63d0bb2e5fe40f0a4ff46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151583
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 40f5a5be9fd228a5d33a3b1218864a38cb70dc1f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151524
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx index 0cde76dcf22c..70fee10d0276 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx @@ -577,14 +577,11 @@ void ChartDataWrapper::switchToInternalDataProvider() rtl::Reference< ChartModel > xChartDoc( m_spChart2ModelContact->getDocumentModel() ); if( xChartDoc.is() ) xChartDoc->createInternalDataProvider( true /*bCloneExistingData*/ ); - m_xDataAccess.clear(); initDataAccess(); } void ChartDataWrapper::initDataAccess() { - if (m_xDataAccess) - return; rtl::Reference< ChartModel > xChartDoc( m_spChart2ModelContact->getDocumentModel() ); if( !xChartDoc.is() ) return; |