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

remove a few more unused variables

Change-Id: I6c70c000f60e7e6e43bd068ccb98b693b80746f2
üst d5ef8830
......@@ -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;
......
......@@ -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
......@@ -1820,36 +1800,12 @@ void ChartExport::InitPlotArea( )
Reference<lang::XServiceInfo> xServiceInfo (mxDiagram, uno::UNO_QUERY);
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(
......
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