diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-27 13:47:15 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-29 00:47:19 -0400 |
commit | 68e20faf3f05038301269870f61205785227450a (patch) | |
tree | af8dd587872d26b1354f418d89aa2e12953c2048 /chart2/source/controller/dialogs/ChartTypeDialogController.cxx | |
parent | Add a means to debug the internal state of the diagram object. (diff) | |
download | core-68e20faf3f05038301269870f61205785227450a.tar.gz core-68e20faf3f05038301269870f61205785227450a.zip |
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
Diffstat (limited to 'chart2/source/controller/dialogs/ChartTypeDialogController.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/ChartTypeDialogController.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 <unonames.hxx> #include <com/sun/star/chart2/DataPointGeometry3D.hpp> #include <com/sun/star/chart2/PieChartOffsetMode.hpp> @@ -341,8 +342,8 @@ bool ChartTypeDialogController::commitToModel( const ChartTypeParameter& rParame uno::Reference<beans::XPropertySet> 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; |