From 68e20faf3f05038301269870f61205785227450a Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 27 Mar 2014 13:47:15 -0400 Subject: Start using common symbols for textural UNO property names. This will make it easier to track all uses of a UNO property name using symbol database lookup, which is much faster and more accurate than grepping. Change-Id: I8c2857504c29bcce01eb8c1f406dcbfb24331510 --- chart2/source/controller/dialogs/ChartTypeDialogController.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chart2/source/controller/dialogs/ChartTypeDialogController.cxx') diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index 4ade1fd7a118..031c46806a5d 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -27,6 +27,7 @@ #include "DiagramHelper.hxx" #include "ControllerLockGuard.hxx" #include "AxisHelper.hxx" +#include #include #include @@ -341,8 +342,8 @@ bool ChartTypeDialogController::commitToModel( const ChartTypeParameter& rParame uno::Reference xDiaProp(xDiagram, uno::UNO_QUERY); if (xDiaProp.is()) { - xDiaProp->setPropertyValue("SortByXValues" , uno::makeAny(rParameter.bSortByXValues)); - xDiaProp->setPropertyValue("RoundedEdge", uno::makeAny(rParameter.mbRoundedEdge)); + xDiaProp->setPropertyValue(CHART_UNONAME_SORT_BY_XVALUES, uno::makeAny(rParameter.bSortByXValues)); + xDiaProp->setPropertyValue(CHART_UNONAME_ROUNDED_EDGE, uno::makeAny(rParameter.mbRoundedEdge)); } } return false; -- cgit