From 6be783933d039708844e9ee9eb2742a1f0c8e367 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 10 Feb 2014 13:42:17 +0200 Subject: sal_Bool->bool Change-Id: I4b8c94ae4b2bf3f1fc1f97b4533221f40b8d1907 --- sc/source/core/data/dpgroup.cxx | 2 +- sc/source/core/data/dpsdbtab.cxx | 2 +- sc/source/core/data/dpshttab.cxx | 2 +- sc/source/core/data/dptabres.cxx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sc/source') diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx index e5da7993859c..3fe464589339 100644 --- a/sc/source/core/data/dpgroup.cxx +++ b/sc/source/core/data/dpgroup.cxx @@ -604,7 +604,7 @@ OUString ScDPGroupTableData::getDimensionName(long nColumn) return pSourceData->getDimensionName( nColumn ); } -sal_Bool ScDPGroupTableData::getIsDataLayoutDimension(long nColumn) +bool ScDPGroupTableData::getIsDataLayoutDimension(long nColumn) { // position of data layout dimension is moved from source data return ( nColumn == sal::static_int_cast( nSourceCount + aGroups.size() ) ); // data layout dimension? diff --git a/sc/source/core/data/dpsdbtab.cxx b/sc/source/core/data/dpsdbtab.cxx index 9f50a68e4f29..a671926f5e8c 100644 --- a/sc/source/core/data/dpsdbtab.cxx +++ b/sc/source/core/data/dpsdbtab.cxx @@ -99,7 +99,7 @@ OUString ScDatabaseDPData::getDimensionName(long nColumn) return aCacheTable.getFieldName(static_cast(nColumn)); } -sal_Bool ScDatabaseDPData::getIsDataLayoutDimension(long nColumn) +bool ScDatabaseDPData::getIsDataLayoutDimension(long nColumn) { return ( nColumn == GetCacheTable().getColSize()); } diff --git a/sc/source/core/data/dpshttab.cxx b/sc/source/core/data/dpshttab.cxx index 93af29c10ff6..ec979157d8e3 100644 --- a/sc/source/core/data/dpshttab.cxx +++ b/sc/source/core/data/dpshttab.cxx @@ -148,7 +148,7 @@ sal_uInt32 ScDPTableData::GetNumberFormatByIdx( NfIndexTableOffset eIdx ) return 0; } -sal_Bool ScSheetDPData::getIsDataLayoutDimension(long nColumn) +bool ScSheetDPData::getIsDataLayoutDimension(long nColumn) { CreateCacheTable(); return (nColumn ==(long)( aCacheTable.getColSize())); diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx index d8504a59dc63..a1d299bfeec1 100644 --- a/sc/source/core/data/dptabres.cxx +++ b/sc/source/core/data/dptabres.cxx @@ -1071,7 +1071,7 @@ void ScDPResultMember::InitFrom( const vector& ppDim, const vect nMemberStep = 1; while ( nPos < ppDim.size() ) { - if ( ppDim[nPos] ->getIsDataLayoutDimension() ) + if ( ppDim[nPos]->getIsDataLayoutDimension() ) { if ( !pChildDimension ) pChildDimension = new ScDPResultDimension( pResultData ); @@ -1115,7 +1115,7 @@ void ScDPResultMember::LateInitFrom( nMemberStep = 1; while ( !rParams.IsEnd( nPos ) ) { - if ( rParams.GetDim( nPos ) ->getIsDataLayoutDimension() ) + if ( rParams.GetDim( nPos )->getIsDataLayoutDimension() ) { if ( !pChildDimension ) pChildDimension = new ScDPResultDimension( pResultData ); -- cgit