diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-10 13:32:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-10 14:44:55 +0200 |
commit | ca6e816ed9c10521bda250a8898a0aaadcd28a05 (patch) | |
tree | 5cc41306b9e0216b7287e9753ad1b509e1e77f45 /sc | |
parent | f40c11f11e0c241c5437709d302407a2fe61e2f9 (diff) |
sal_Bool->bool
Change-Id: I707536b04c2e27fcb7d6283baee3479fe0fa67cd
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/dptabsrc.hxx | 12 | ||||
-rw-r--r-- | sc/source/core/data/dptabsrc.cxx | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx index ba4ff07af506..87af3be56636 100644 --- a/sc/inc/dptabsrc.hxx +++ b/sc/inc/dptabsrc.hxx @@ -170,15 +170,15 @@ public: ScDPDimension* GetDataDimension(long nIndex); OUString GetDataDimName(long nIndex); const ScDPCache* GetCache(); - const ScDPItemData* GetItemDataById( long nDim, long nId ); - long GetDataLayoutDim(){ return pData->GetColumnCount(); } - SCROW GetMemberId( long nDim, const ScDPItemData& rData ); - sal_Bool IsDataLayoutDimension(long nDim); + const ScDPItemData* GetItemDataById( long nDim, long nId ); + long GetDataLayoutDim(){ return pData->GetColumnCount(); } + SCROW GetMemberId( long nDim, const ScDPItemData& rData ); + bool IsDataLayoutDimension(long nDim); sal_uInt16 GetDataLayoutOrientation(); - sal_Bool IsDateDimension(long nDim); + bool IsDateDimension(long nDim); - sal_Bool SubTotalAllowed(long nColumn); //! move to ScDPResultData + bool SubTotalAllowed(long nColumn); //! move to ScDPResultData ScDPDimension* AddDuplicated(long nSource, const OUString& rNewName); long GetDupCount() const { return nDupCount; } diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx index 947bc1bf3603..82a0c1dc9d61 100644 --- a/sc/source/core/data/dptabsrc.cxx +++ b/sc/source/core/data/dptabsrc.cxx @@ -255,7 +255,7 @@ void removeDim( long nRemove, std::vector<long>& rDims ) } -sal_Bool ScDPSource::SubTotalAllowed(long nColumn) +bool ScDPSource::SubTotalAllowed(long nColumn) { //! cache this at ScDPResultData bool bAllowed = true; @@ -300,7 +300,7 @@ void ScDPSource::SetOrientation(long nColumn, sal_uInt16 nNew) } } -sal_Bool ScDPSource::IsDataLayoutDimension(long nDim) +bool ScDPSource::IsDataLayoutDimension(long nDim) { return nDim == pData->GetColumnCount(); } @@ -310,7 +310,7 @@ sal_uInt16 ScDPSource::GetDataLayoutOrientation() return GetOrientation(pData->GetColumnCount()); } -sal_Bool ScDPSource::IsDateDimension(long nDim) +bool ScDPSource::IsDateDimension(long nDim) { return pData->IsDateDimension(nDim); } |