summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-22 17:08:17 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-22 17:08:32 +0100
commit127f51ec41d989ad19c2d47476de30990dd21462 (patch)
tree72c5d449715ace6ab07150cff27ffdb10974681c
parent92e9753bd2b851597353603f5fc956460ff88231 (diff)
small cosmetic clean-up
Change-Id: Idce2856f656576dc58e137800e11da0178eb5201
-rw-r--r--oox/source/export/chartexport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 3dc86027f6a2..cf3ad46f1958 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1575,7 +1575,6 @@ void ChartExport::exportUpDownBars( Reference< chart2::XChartType > xChartType)
Reference< ::com::sun::star::chart::XStatisticDisplay > xChartPropProvider( mxDiagram, uno::UNO_QUERY );
if(xChartPropProvider.is())
{
- Reference< beans::XPropertySet > xChartPropSet = xChartPropProvider->getMinMaxLine();
// updownbar
pFS->startElement( FSNS( XML_c, XML_upDownBars ),
FSEND );
@@ -1585,7 +1584,7 @@ void ChartExport::exportUpDownBars( Reference< chart2::XChartType > xChartType)
XML_val, I32S( nGapWidth ),
FSEND );
- xChartPropSet = xChartPropProvider->getUpBar();
+ Reference< beans::XPropertySet > xChartPropSet = xChartPropProvider->getUpBar();
if( xChartPropSet.is() )
{
pFS->startElement( FSNS( XML_c, XML_upBars ),