summaryrefslogtreecommitdiff
path: root/xmloff/source/chart
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2010-03-24 09:43:57 +0100
committerIngrid Halama <iha@openoffice.org>2010-03-24 09:43:57 +0100
commit786bac517c6fa2ea429bd0ce6d425fb2095c6f01 (patch)
treeebfdd5b6ba34a581ef76fe80743884ef14b7589f /xmloff/source/chart
parent6b9635f6b2d62537052bdc11ec84247d3bc72832 (diff)
chart 45: #i109879# black axis loose color on copy
Diffstat (limited to 'xmloff/source/chart')
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
index 53a32b9193e5..ec5c4b2130c1 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
@@ -1271,6 +1271,10 @@ void SchXMLAxisContext::CreateAxis()
// set properties
if( xProp.is())
{
+ // #i109879# the line color is black as default, in the model it is a light gray
+ xProp->setPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LineColor" )),
+ uno::makeAny( COL_BLACK ));
+
xProp->setPropertyValue( rtl::OUString::createFromAscii( "DisplayLabels" ), aFalseBool );
// #88077# AutoOrigin 'on' is default