summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-10 13:42:17 +0200
committerNoel Grandin <noel@peralex.com>2014-02-10 14:44:56 +0200
commit6be783933d039708844e9ee9eb2742a1f0c8e367 (patch)
treecd87bed7dea827f3325189d73aa5470ce3a6942e /sc/source
parentca6e816ed9c10521bda250a8898a0aaadcd28a05 (diff)
sal_Bool->bool
Change-Id: I4b8c94ae4b2bf3f1fc1f97b4533221f40b8d1907
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/dpgroup.cxx2
-rw-r--r--sc/source/core/data/dpsdbtab.cxx2
-rw-r--r--sc/source/core/data/dpshttab.cxx2
-rw-r--r--sc/source/core/data/dptabres.cxx4
4 files changed, 5 insertions, 5 deletions
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<long>( 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<SCCOL>(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<ScDPDimension*>& 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 );