summaryrefslogtreecommitdiff
path: root/chart2/source/view
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga991@gmail.com>2020-11-16 14:44:45 +0100
committerLászló Németh <nemeth@numbertext.org>2020-11-17 11:10:09 +0100
commit4930749294475cc28afd06cd11fdf56a157ad9ce (patch)
treeaaf87283eb47c7e44cd34361c8f5408d41f50456 /chart2/source/view
parent1724b7a2cb16336b2c6e066504708396b8ecfa32 (diff)
tdf#138204 Chart OOXML Import: doesn't show placeholder
for CELLRANGE data label field type. Add CELLRANGE to enum com::sun::star::chart2::DataPointCustomLabelFieldType, like we do at CELLREF, while both of them are not implemented, see commit 790f9abeb1a1167ad5ab84c5fb855b36669c125b (tdf#114821 import complex data labels in bar chart). Regression from commit: 0d2340998415fb4b2f794054c62ef61c83e32155 (tdf#136061 Chart ODF/OOXML: fix missing custom labels) Change-Id: I8e0f4ca9db6e613a190cbda31504a7542fc13a86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105934 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'chart2/source/view')
-rw-r--r--chart2/source/view/charttypes/VSeriesPlotter.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index b502efd83fe5..132903ba4d30 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -542,6 +542,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re
break;
}
case DataPointCustomLabelFieldType_CELLREF:
+ case DataPointCustomLabelFieldType_CELLRANGE:
{
// TODO: for now doesn't show placeholder
aTextList[i] = OUString();