diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-12 15:09:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-14 10:52:46 +0200 |
commit | 70a30fd179266f65500b880ccb0f87011b670fca (patch) | |
tree | 881d1723620d030171ff3de9bad2cc96f80994ed /chart2/source/controller/dialogs/ObjectNameProvider.cxx | |
parent | loplugin: defaultparams (diff) | |
download | core-70a30fd179266f65500b880ccb0f87011b670fca.tar.gz core-70a30fd179266f65500b880ccb0f87011b670fca.zip |
loplugin: defaultparams
Change-Id: I65c0ed65b20f606cf1409a3158ff1ef1e2d6cd9f
Diffstat (limited to 'chart2/source/controller/dialogs/ObjectNameProvider.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/ObjectNameProvider.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/dialogs/ObjectNameProvider.cxx b/chart2/source/controller/dialogs/ObjectNameProvider.cxx index 6f0e30738e29..cab2df17b2f3 100644 --- a/chart2/source/controller/dialogs/ObjectNameProvider.cxx +++ b/chart2/source/controller/dialogs/ObjectNameProvider.cxx @@ -617,7 +617,7 @@ OUString ObjectNameProvider::getHelpText( const OUString& rObjectCID, const Refe { Reference< chart2::XDataSeries > xSeries( ObjectIdentifier::getDataSeriesForCID(rObjectCID , xChartModel)); Reference< chart2::XRegressionCurveContainer > xCurveCnt( xSeries, uno::UNO_QUERY ); - aRet += getName(eObjectType, false); + aRet += getName(eObjectType); if( xCurveCnt.is()) { @@ -685,12 +685,12 @@ OUString ObjectNameProvider::getHelpText( const OUString& rObjectCID, const Refe else { // non-verbose - aRet = ObjectNameProvider::getName( eObjectType, false ); + aRet = ObjectNameProvider::getName( eObjectType ); } } else { - aRet = ObjectNameProvider::getName( eObjectType, false ); + aRet = ObjectNameProvider::getName( eObjectType ); } return aRet; } @@ -833,7 +833,7 @@ OUString ObjectNameProvider::getName_ObjectForSeries( if( xSeries.is() ) { OUString aRet = SCH_RESSTR(STR_OBJECT_FOR_SERIES); - replaceParamterInString( aRet, "%OBJECTNAME", getName( eObjectType, false /*bPlural*/ ) ); + replaceParamterInString( aRet, "%OBJECTNAME", getName( eObjectType ) ); replaceParamterInString( aRet, "%SERIESNAME", lcl_getDataSeriesName( rSeriesCID, xChartModel ) ); return aRet; } |