summaryrefslogtreecommitdiff
path: root/oox/source/export/chartexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/export/chartexport.cxx')
-rw-r--r--oox/source/export/chartexport.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index ae7a926e4f72..32abeb958a6f 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1555,13 +1555,13 @@ void ChartExport::exportHiLowLines()
return;
Reference< beans::XPropertySet > xStockPropSet = xChartPropProvider->getMinMaxLine();
- if( xStockPropSet.is() )
- {
- pFS->startElement( FSNS( XML_c, XML_hiLowLines ),
- FSEND );
- exportShapeProps( xStockPropSet );
- pFS->endElement( FSNS( XML_c, XML_hiLowLines ) );
- }
+ if( !xStockPropSet.is() )
+ return;
+
+ pFS->startElement( FSNS( XML_c, XML_hiLowLines ),
+ FSEND );
+ exportShapeProps( xStockPropSet );
+ pFS->endElement( FSNS( XML_c, XML_hiLowLines ) );
}
void ChartExport::exportUpDownBars( Reference< chart2::XChartType > xChartType)