summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/ChartController_Properties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/main/ChartController_Properties.cxx')
-rw-r--r--chart2/source/controller/main/ChartController_Properties.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ChartController_Properties.cxx b/chart2/source/controller/main/ChartController_Properties.cxx
index ed48e382f06d..880dbe6e1d7d 100644
--- a/chart2/source/controller/main/ChartController_Properties.cxx
+++ b/chart2/source/controller/main/ChartController_Properties.cxx
@@ -422,8 +422,7 @@ OUString lcl_getGridCIDForCommand( const OString& rDispatchCommand, const uno::R
nDimensionIndex=2; bMainGrid=false;
}
- bool bMainAxis = true;
- uno::Reference< XAxis > xAxis( AxisHelper::getAxis( nDimensionIndex, bMainAxis, xDiagram ) );
+ uno::Reference< XAxis > xAxis( AxisHelper::getAxis( nDimensionIndex, true/*bMainAxis*/, xDiagram ) );
sal_Int32 nSubGridIndex= bMainGrid ? (-1) : 0;
OUString aCID( ObjectIdentifier::createClassifiedIdentifierForGrid( xAxis, xChartModel, nSubGridIndex ) );
@@ -779,7 +778,7 @@ bool ChartController::executeDlg_ObjectProperties_withoutUndoGuard(
pSymbolShapeProperties = new SfxItemSet( aSymbolItemConverter.CreateEmptyItemSet() );
aSymbolItemConverter.FillItemSet( *pSymbolShapeProperties );
- sal_Int32 nStandardSymbol=0;//@todo get from somewhere
+ sal_Int32 const nStandardSymbol=0;//@todo get from somewhere
Graphic* pAutoSymbolGraphic = new Graphic( aViewElementListProvider.GetSymbolGraphic( nStandardSymbol, pSymbolShapeProperties ) );
// note: the dialog takes the ownership of pSymbolShapeProperties and pAutoSymbolGraphic
aDlg->setSymbolInformation( pSymbolShapeProperties, pAutoSymbolGraphic );