summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-29 20:57:10 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-30 00:17:29 +0200
commitf9cd73ebe116cd95247aff1963e2f5b4ec671dfa (patch)
treea8a7415e2e89a56043a44a82c57debfc482828cf
parentd5ef8830255a8bdb1ff383f262c3028c398f63ee (diff)
remove a few more unused variables
Change-Id: I6c70c000f60e7e6e43bd068ccb98b693b80746f2
-rw-r--r--include/oox/export/chartexport.hxx3
-rw-r--r--oox/source/export/chartexport.cxx44
2 files changed, 0 insertions, 47 deletions
diff --git a/include/oox/export/chartexport.hxx b/include/oox/export/chartexport.hxx
index 214c08f21933..d3212d0a5678 100644
--- a/include/oox/export/chartexport.hxx
+++ b/include/oox/export/chartexport.hxx
@@ -89,11 +89,8 @@ private:
com::sun::star::uno::Reference< com::sun::star::chart2::XDiagram > mxNewDiagram;
// members filled by InitRangeSegmentationProperties (retrieved from DataProvider)
- sal_Bool mbHasSeriesLabels;
sal_Bool mbHasCategoryLabels; //if the categories are only automatically generated this will be false
- sal_Bool mbRowSourceColumns;
OUString msChartAddress;
- OUString msTableNumberList;
::com::sun::star::uno::Sequence< sal_Int32 > maSequenceMapping;
//::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > mxAdditionalShapes;
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 98fff6fd65ae..48e2e601ef9a 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -438,14 +438,8 @@ ChartExport::ChartExport( sal_Int32 nXmlNamespace, FSHelperPtr pFS, Reference< f
, mnXmlNamespace( nXmlNamespace )
, maFraction( 1, 576 )
, mxChartModel( xModel )
- , mbHasSeriesLabels( sal_False )
, mbHasCategoryLabels( sal_False )
- , mbRowSourceColumns( sal_True )
- , mbHasXAxis( sal_False )
- , mbHasYAxis( sal_False )
, mbHasZAxis( sal_False )
- , mbHasSecondaryXAxis( sal_False )
- , mbHasSecondaryYAxis( sal_False )
, mbIs3DChart( sal_False )
{
}
@@ -631,18 +625,8 @@ void ChartExport::InitRangeSegmentationProperties( const Reference< chart2::XCha
if( aArgs[i].Value >>= sBrokenRange )
bBrokenRangeAvailable = true;
}
- else if ( aArgs[i].Name == "DataRowSource" )
- {
- ::com::sun::star::chart::ChartDataRowSource eRowSource;
- aArgs[i].Value >>= eRowSource;
- mbRowSourceColumns = ( eRowSource == ::com::sun::star::chart::ChartDataRowSource_COLUMNS );
- }
- else if ( aArgs[i].Name == "FirstCellAsLabel" )
- aArgs[i].Value >>= mbHasSeriesLabels;
else if ( aArgs[i].Name == "SequenceMapping" )
aArgs[i].Value >>= maSequenceMapping;
- else if ( aArgs[i].Name == "TableNumberList" )
- aArgs[i].Value >>= msTableNumberList;
}
// #i79009# For Writer we have to export a broken version of the
@@ -720,10 +704,6 @@ void ChartExport::_ExportContent()
aAny >>= msChartAddress;
//maExportHelper.SetChartRangeAddress( sChartAddress );
- // OUString sTableNumberList;
- aAny = xProp->getPropertyValue(
- OUString("TableNumberList"));
- aAny >>= msTableNumberList;
//maExportHelper.SetTableNumberList( sTableNumberList );
// do not include own table if there are external addresses
@@ -1821,35 +1801,11 @@ void ChartExport::InitPlotArea( )
if (xServiceInfo.is())
{
if (xServiceInfo->supportsService(
- OUString("com.sun.star.chart.ChartAxisXSupplier")))
- {
- xDiagramProperties->getPropertyValue(
- OUString("HasXAxis")) >>= mbHasXAxis;
- }
- if (xServiceInfo->supportsService(
- OUString("com.sun.star.chart.ChartAxisYSupplier")))
- {
- xDiagramProperties->getPropertyValue(
- OUString("HasYAxis")) >>= mbHasYAxis;
- }
- if (xServiceInfo->supportsService(
OUString("com.sun.star.chart.ChartAxisZSupplier")))
{
xDiagramProperties->getPropertyValue(
OUString("HasZAxis")) >>= mbHasZAxis;
}
- if (xServiceInfo->supportsService(
- OUString("com.sun.star.chart.ChartTwoAxisXSupplier")))
- {
- xDiagramProperties->getPropertyValue(
- OUString("HasSecondaryXAxis")) >>= mbHasSecondaryXAxis;
- }
- if (xServiceInfo->supportsService(
- OUString("com.sun.star.chart.ChartTwoAxisYSupplier")))
- {
- xDiagramProperties->getPropertyValue(
- OUString("HasSecondaryYAxis")) >>= mbHasSecondaryYAxis;
- }
}
xDiagramProperties->getPropertyValue(