summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-29 15:33:18 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-30 05:45:24 +0200
commit84254268bf5902d2405815970218e1893a7a673e (patch)
treec9bc0d9fde5ea61834b5aa456a7317d8de0535bc
parente517948e71daf8861aca46f77fe900a538654887 (diff)
it is insane to not map line and border properties to the same id
Change-Id: I6f4eb2509dc731cb281350b2bb0cce94b66a8ad6
-rw-r--r--chart2/source/model/main/DataPointProperties.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/model/main/DataPointProperties.cxx b/chart2/source/model/main/DataPointProperties.cxx
index ed35733ed1ea..f09cf47de6b3 100644
--- a/chart2/source/model/main/DataPointProperties.cxx
+++ b/chart2/source/model/main/DataPointProperties.cxx
@@ -177,21 +177,21 @@ void DataPointProperties::AddPropertiesToVector(
rOutProperties.push_back(
Property( "BorderStyle",
- PROP_DATAPOINT_BORDER_STYLE,
+ LinePropertiesHelper::PROP_LINE_STYLE,
cppu::UnoType<drawing::LineStyle>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( "BorderWidth",
- PROP_DATAPOINT_BORDER_WIDTH,
+ LinePropertiesHelper::PROP_LINE_WIDTH,
cppu::UnoType<sal_Int32>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back(
Property( "BorderDashName",
- PROP_DATAPOINT_BORDER_DASH_NAME,
+ LinePropertiesHelper::PROP_LINE_DASH_NAME,
cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));