diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-06-17 11:41:06 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-06-19 14:46:56 -0400 |
commit | 2538e30ccc2e98de92de5157ca523fdb347eb537 (patch) | |
tree | f6e07c61cd108d73e7cc99752e89e08a4cde84ff /chart2/source/model/main/DataPointProperties.cxx | |
parent | b846847121a29b8acd9d48ef1a795ea3b9d6d974 (diff) |
Use define constant to keep track of all NumberFormat property usage.
Change-Id: I2a544922e03ec8253290ac8bf5a89c9cdd72d8dd
Diffstat (limited to 'chart2/source/model/main/DataPointProperties.cxx')
-rw-r--r-- | chart2/source/model/main/DataPointProperties.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/model/main/DataPointProperties.cxx b/chart2/source/model/main/DataPointProperties.cxx index 1f6ae084146b..2ebfa95fadbe 100644 --- a/chart2/source/model/main/DataPointProperties.cxx +++ b/chart2/source/model/main/DataPointProperties.cxx @@ -21,6 +21,7 @@ #include "macros.hxx" #include "LinePropertiesHelper.hxx" #include "FillProperties.hxx" +#include <unonames.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/drawing/FillStyle.hpp> @@ -277,7 +278,7 @@ void DataPointProperties::AddPropertiesToVector( | beans::PropertyAttribute::MAYBEDEFAULT )); rOutProperties.push_back( - Property( "NumberFormat", + Property( CHART_UNONAME_NUMFMT, PROP_DATAPOINT_NUMBER_FORMAT, cppu::UnoType<sal_Int32>::get(), beans::PropertyAttribute::BOUND |