From e9cb5577f4c1be0f59863ec5ccb68e8794a2f117 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 1 Apr 2015 16:23:59 +0200 Subject: loplugin:staticmethods Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca --- chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx | 2 +- chart2/source/controller/dialogs/ChartTypeDialogController.cxx | 2 +- chart2/source/model/main/ChartModel_Persistence.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'chart2/source') diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index b6a20b89cfa6..b0d009c69358 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -1320,7 +1320,7 @@ uno::Reference< uno::XInterface > SAL_CALL ChartDocumentWrapper::createInstance( if( aTemplateWithService.first.is()) aTemplateWithService.first->resetStyles( xDiagram );//#i109371# xTemplate->changeDiagram( xDiagram ); - if( Application::GetSettings().GetMathLayoutRTL() ) + if( AllSettings::GetMathLayoutRTL() ) AxisHelper::setRTLAxisLayout( AxisHelper::getCoordinateSystemByIndex( xDiagram, 0 ) ); ThreeDHelper::setScheme( xDiagram, e3DScheme ); } diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index b0d96fda4df2..f7f5fcc9ecb9 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -349,7 +349,7 @@ bool ChartTypeDialogController::commitToModel( const ChartTypeParameter& rParame if( aTemplateWithService.first.is()) aTemplateWithService.first->resetStyles( xDiagram ); xTemplate->changeDiagram( xDiagram ); - if( Application::GetSettings().GetMathLayoutRTL() ) + if( AllSettings::GetMathLayoutRTL() ) AxisHelper::setRTLAxisLayout( AxisHelper::getCoordinateSystemByIndex( xDiagram, 0 ) ); if( rParameter.b3DLook ) ThreeDHelper::setScheme( xDiagram, rParameter.eThreeDLookScheme ); diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx index 23a3c290af07..2535c7506372 100644 --- a/chart2/source/model/main/ChartModel_Persistence.cxx +++ b/chart2/source/model/main/ChartModel_Persistence.cxx @@ -411,7 +411,7 @@ void ChartModel::insertDefaultChart() setFirstDiagram( xDiagram ); - bool bIsRTL = Application::GetSettings().GetMathLayoutRTL(); + bool bIsRTL = AllSettings::GetMathLayoutRTL(); //reverse x axis for rtl charts if( bIsRTL ) AxisHelper::setRTLAxisLayout( AxisHelper::getCoordinateSystemByIndex( xDiagram, 0 ) ); -- cgit