diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-02-17 23:19:49 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-18 02:25:45 +0100 |
commit | dd0c9e64835b825771d961b7a8f21f4d6c077fc7 (patch) | |
tree | 169eebb2202b647893017d949e57cf8dca2333fc /oox | |
parent | 2f55cee39379a76920f3a4fb14e6c2774093bfcd (diff) |
fix indentation
Change-Id: I36be2de793d3d32433530bf71632cb73a676bb9a
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 337d510e89aa..b42786891553 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1851,36 +1851,36 @@ void ChartExport::exportCandleStickSeries( { Reference< chart2::data::XDataSequence > xLabelSeq( xLabeledSeq->getLabel()); Reference< chart2::data::XDataSequence > xValueSeq( xLabeledSeq->getValues()); - { - FSHelperPtr pFS = GetFS(); - pFS->startElement( FSNS( XML_c, XML_ser ), + { + FSHelperPtr pFS = GetFS(); + pFS->startElement( FSNS( XML_c, XML_ser ), FSEND ); - // TODO: idx and order - // idx attribute should start from 1 and not from 0. - pFS->singleElement( FSNS( XML_c, XML_idx ), + // TODO: idx and order + // idx attribute should start from 1 and not from 0. + pFS->singleElement( FSNS( XML_c, XML_idx ), XML_val, I32S(idx+1), FSEND ); - pFS->singleElement( FSNS( XML_c, XML_order ), + pFS->singleElement( FSNS( XML_c, XML_order ), XML_val, I32S(idx+1), FSEND ); - // export label - if( xLabelSeq.is() ) - exportSeriesText( xLabelSeq ); + // export label + if( xLabelSeq.is() ) + exportSeriesText( xLabelSeq ); - // TODO:export shape properties + // TODO:export shape properties - // export categories - if( mxCategoriesValues.is() ) - exportSeriesCategory( mxCategoriesValues ); + // export categories + if( mxCategoriesValues.is() ) + exportSeriesCategory( mxCategoriesValues ); - // export values - if( xValueSeq.is() ) - exportSeriesValues( xValueSeq ); + // export values + if( xValueSeq.is() ) + exportSeriesValues( xValueSeq ); - pFS->endElement( FSNS( XML_c, XML_ser ) ); - } + pFS->endElement( FSNS( XML_c, XML_ser ) ); + } } } } |