Kaydet (Commit) 52f4d152 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

there is no x error bar for bar charts, related fdo#66455

e.g. fdo#66455-1.ods exported to OOXML

Change-Id: I81c65071cef820076b3f4788b45152cb48eb608d
üst 5fb41ae3
...@@ -1776,10 +1776,14 @@ void ChartExport::exportSeries( Reference< chart2::XChartType > xChartType, sal_ ...@@ -1776,10 +1776,14 @@ void ChartExport::exportSeries( Reference< chart2::XChartType > xChartType, sal_
xSeriesPropSet->getPropertyValue("ErrorBarY") >>= xErrorBarYProps; xSeriesPropSet->getPropertyValue("ErrorBarY") >>= xErrorBarYProps;
if(xErrorBarYProps.is()) if(xErrorBarYProps.is())
exportErrorBar(xErrorBarYProps, true); exportErrorBar(xErrorBarYProps, true);
Reference< XPropertySet > xErrorBarXProps; if (eChartType != chart::TYPEID_BAR &&
xSeriesPropSet->getPropertyValue("ErrorBarX") >>= xErrorBarXProps; eChartType != chart::TYPEID_HORBAR)
if(xErrorBarXProps.is()) {
exportErrorBar(xErrorBarXProps, false); Reference< XPropertySet > xErrorBarXProps;
xSeriesPropSet->getPropertyValue("ErrorBarX") >>= xErrorBarXProps;
if(xErrorBarXProps.is())
exportErrorBar(xErrorBarXProps, false);
}
} }
// export categories // export categories
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment