summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/ChartTypeManager.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-18 09:43:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-18 11:13:09 +0100
commit34e0120ce5c9892380729a0a6e90c00c6b2eec9f (patch)
treeba613b455794045d9b93a523053f3e33a82cb54a /chart2/source/model/template/ChartTypeManager.cxx
parent3245a48be650186690a7fbb02ddbf8456f55a835 (diff)
convert StockVariant to scoped enum
and simplify naming Change-Id: Ieada4e83fcc2eafd03f65b1216bf5ad026ced4c7 Reviewed-on: https://gerrit.libreoffice.org/66567 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/template/ChartTypeManager.cxx')
-rw-r--r--chart2/source/model/template/ChartTypeManager.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/model/template/ChartTypeManager.cxx b/chart2/source/model/template/ChartTypeManager.cxx
index 2d458a05faec..3634e075d8d8 100644
--- a/chart2/source/model/template/ChartTypeManager.cxx
+++ b/chart2/source/model/template/ChartTypeManager.cxx
@@ -498,19 +498,19 @@ uno::Reference< uno::XInterface > SAL_CALL ChartTypeManager::createInstance(
case TEMPLATE_STOCKLOWHIGHCLOSE:
xTemplate.set( new StockChartTypeTemplate( m_xContext, aServiceSpecifier,
- StockChartTypeTemplate::LOW_HI_CLOSE, false ));
+ StockChartTypeTemplate::StockVariant::NONE, false ));
break;
case TEMPLATE_STOCKOPENLOWHIGHCLOSE:
xTemplate.set( new StockChartTypeTemplate( m_xContext, aServiceSpecifier,
- StockChartTypeTemplate::OPEN_LOW_HI_CLOSE, true ));
+ StockChartTypeTemplate::StockVariant::Open, true ));
break;
case TEMPLATE_STOCKVOLUMELOWHIGHCLOSE:
xTemplate.set( new StockChartTypeTemplate( m_xContext, aServiceSpecifier,
- StockChartTypeTemplate::VOL_LOW_HI_CLOSE, false ));
+ StockChartTypeTemplate::StockVariant::Volume, false ));
break;
case TEMPLATE_STOCKVOLUMEOPENLOWHIGHCLOSE:
xTemplate.set( new StockChartTypeTemplate( m_xContext, aServiceSpecifier,
- StockChartTypeTemplate::VOL_OPEN_LOW_HI_CLOSE, true ));
+ StockChartTypeTemplate::StockVariant::VolumeOpen, true ));
break;
//BubbleChart