diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-15 15:17:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-15 15:23:29 +0200 |
commit | 329332ba526983c1d64763f61df2940e6bcb7d8a (patch) | |
tree | cab0aa5fb7bdabeb56300b27cd7dbfa740820c46 /chart2/source/tools/DiagramHelper.cxx | |
parent | ffbc86f5ac2a835d841d53938824242e0a69fdd4 (diff) |
chart2: sal_Bool->bool
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
Diffstat (limited to 'chart2/source/tools/DiagramHelper.cxx')
-rw-r--r-- | chart2/source/tools/DiagramHelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/tools/DiagramHelper.cxx b/chart2/source/tools/DiagramHelper.cxx index d21b6df6bfe9..8d853cc6501b 100644 --- a/chart2/source/tools/DiagramHelper.cxx +++ b/chart2/source/tools/DiagramHelper.cxx @@ -1073,7 +1073,7 @@ void lcl_switchToDateCategories( const Reference< XChartDocument >& xChartDoc, c if( !( nType & util::NumberFormat::DATE ) ) { //set a date format to the axis - sal_Bool bCreate = sal_True; + bool bCreate = true; const LocaleDataWrapper& rLocaleDataWrapper = Application::GetSettings().GetLocaleDataWrapper(); Sequence<sal_Int32> aKeySeq = xNumberFormats->queryKeys( util::NumberFormat::DATE, rLocaleDataWrapper.getLanguageTag().getLocale(), bCreate ); if( aKeySeq.getLength() ) @@ -1167,7 +1167,7 @@ sal_Int32 DiagramHelper::getDateNumberFormat( const Reference< util::XNumberForm Reference< util::XNumberFormats > xNumberFormats( xNumberFormatsSupplier->getNumberFormats() ); if( xNumberFormats.is() ) { - sal_Bool bCreate = sal_True; + bool bCreate = true; const LocaleDataWrapper& rLocaleDataWrapper = Application::GetSettings().GetLocaleDataWrapper(); Sequence<sal_Int32> aKeySeq = xNumberFormats->queryKeys( util::NumberFormat::DATE, rLocaleDataWrapper.getLanguageTag().getLocale(), bCreate ); @@ -1195,7 +1195,7 @@ sal_Int32 DiagramHelper::getPercentNumberFormat( const Reference< util::XNumberF Reference< util::XNumberFormats > xNumberFormats( xNumberFormatsSupplier->getNumberFormats() ); if( xNumberFormats.is() ) { - sal_Bool bCreate = sal_True; + bool bCreate = true; const LocaleDataWrapper& rLocaleDataWrapper = Application::GetSettings().GetLocaleDataWrapper(); Sequence<sal_Int32> aKeySeq = xNumberFormats->queryKeys( util::NumberFormat::PERCENT, rLocaleDataWrapper.getLanguageTag().getLocale(), bCreate ); |