summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.co.uk>2017-07-20 13:15:57 +0530
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-07-23 21:21:59 +0200
commit0bdbd099bb52ae687196e06561e03c5c4d9c90eb (patch)
treea2f0eb990b9d7a4bec8d1649f23c10fd2d3708ed /chart2/source
parentf7c4e8cbf840193acb7c188163f51c8a3a14e083 (diff)
tdf#103984 : For bubble charts append data column...
for "values-size" role too, after parsing in InternalDataProvider::createDataSequenceFromArray(). Without this, embedded bubble charts in documents(MSO) other than spreadsheets will be empty when imported. Also adds docx import chart2-unit-test in chart2import.cxx Change-Id: I63168074b30090a8b7cf977eb5af443f6b9ac240 Reviewed-on: https://gerrit.libreoffice.org/40258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/tools/InternalDataProvider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx
index c407c3ac9cdd..f936cd664a92 100644
--- a/chart2/source/tools/InternalDataProvider.cxx
+++ b/chart2/source/tools/InternalDataProvider.cxx
@@ -566,7 +566,7 @@ InternalDataProvider::createDataSequenceFromArray( const OUString& rArrayStr, co
}
if (rRole == "values-y" || rRole == "values-first" || rRole == "values-last" ||
- rRole == "values-min" || rRole == "values-max")
+ rRole == "values-min" || rRole == "values-max" || rRole == "values-size")
{
// Column values. Append a new data column and populate it.