path: root/chart2/source/tools
diff options
authorBalazs Varga <>2020-09-11 14:14:13 +0200
committerLászló Németh <>2020-09-18 13:24:46 +0200
commit2d51b9fd4e7b22a21c77cff473de56ebebc5c9f2 (patch)
tree8d126c86f7dee7e975aea59583b06365805a1eb2 /chart2/source/tools
parent49667a6950709856b9a1a5d59ca78fdf682a53f4 (diff)
tdf#136267 OOXML Chart Import: create main category axis labels once
because InternalDataProvider can not handle different category names on the primary and secondary category axis. Revert e0b0502516a10181bbd1737b93b38b2bba4c98e8 commit, except the relevant unit test. Regression from commit: e0b0502516a10181bbd1737b93b38b2bba4c98e8 (tdf#128016 Chart OOXML Import: fix duplicated category labels) Also fix tdf#129994 (FILEOPEN - hang at import time), which is a a regression from commit fa0a981af41a2606541eec1cb20a379a739691e0 (tdf#114166 DOCX chart import: fix missing complex categories) Change-Id: I5d049e760eb1a647ea774be264349a2f16f15f5b Reviewed-on: Tested-by: László Németh <> Reviewed-by: László Németh <>
Diffstat (limited to 'chart2/source/tools')
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/tools/ExplicitCategoriesProvider.cxx b/chart2/source/tools/ExplicitCategoriesProvider.cxx
index c0b232240710..bf65f58ec850 100644
--- a/chart2/source/tools/ExplicitCategoriesProvider.cxx
+++ b/chart2/source/tools/ExplicitCategoriesProvider.cxx
@@ -55,6 +55,7 @@ ExplicitCategoriesProvider::ExplicitCategoriesProvider( const Reference< chart2:
if( )
+ // TODO: handle different category names on the primary and secondary category axis.
uno::Reference< XAxis > xAxis( xCooSysModel->getAxisByDimension(0,0) );
if( )