summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-01-17 16:39:30 +0200
committerNoel Grandin <noel@peralex.com>2014-01-20 13:13:52 +0200
commitb132bf92ccdbcd81f25fdb11b9f2a6e9297092f1 (patch)
tree4704a2ce2ca66bc3e88f2c6e6709d00b7557f7c4 /sc
parent18d0f4c714e71b3ebdd697a3759a74a20a25344f (diff)
sal_Bool->bool
Change-Id: Ibc8696d41afead254c832afb7b4aeed73f52cab9
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/dapiuno.hxx12
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx14
2 files changed, 13 insertions, 13 deletions
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx
index 8edab4cceccb..8fd2a23aa838 100644
--- a/sc/inc/dapiuno.hxx
+++ b/sc/inc/dapiuno.hxx
@@ -568,8 +568,8 @@ public:
void setSubtotals(const com::sun::star::uno::Sequence< com::sun::star::sheet::GeneralFunction >& rFunctions);
OUString getCurrentPage() const;
void setCurrentPage(const OUString& sPage);
- sal_Bool getUseCurrentPage() const;
- void setUseCurrentPage(sal_Bool bUse);
+ bool getUseCurrentPage() const;
+ void setUseCurrentPage(bool bUse);
const com::sun::star::sheet::DataPilotFieldAutoShowInfo* getAutoShowInfo();
void setAutoShowInfo(const com::sun::star::sheet::DataPilotFieldAutoShowInfo* pInfo);
const com::sun::star::sheet::DataPilotFieldLayoutInfo* getLayoutInfo();
@@ -578,15 +578,15 @@ public:
void setReference(const com::sun::star::sheet::DataPilotFieldReference* pInfo);
const com::sun::star::sheet::DataPilotFieldSortInfo* getSortInfo();
void setSortInfo(const com::sun::star::sheet::DataPilotFieldSortInfo* pInfo);
- sal_Bool getShowEmpty() const;
- void setShowEmpty(sal_Bool bShow);
+ bool getShowEmpty() const;
+ void setShowEmpty(bool bShow);
- sal_Bool hasGroupInfo();
+ bool hasGroupInfo();
com::sun::star::sheet::DataPilotFieldGroupInfo getGroupInfo();
void setGroupInfo(const com::sun::star::sheet::DataPilotFieldGroupInfo* pInfo);
// XDataPilotFieldGrouping
- sal_Bool HasString(const com::sun::star::uno::Sequence< OUString >& aItems, const OUString& aString);
+ bool HasString(const com::sun::star::uno::Sequence< OUString >& aItems, const OUString& aString);
virtual com::sun::star::uno::Reference < com::sun::star::sheet::XDataPilotField > SAL_CALL
createNameGroup(const com::sun::star::uno::Sequence< OUString >& aItems)
throw (::com::sun::star::uno::RuntimeException,
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 5d8508a53397..8913cef868b4 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -2245,12 +2245,12 @@ void ScDataPilotFieldObj::setCurrentPage( const OUString& rPage )
}
}
-sal_Bool ScDataPilotFieldObj::getUseCurrentPage() const
+bool ScDataPilotFieldObj::getUseCurrentPage() const
{
return false;
}
-void ScDataPilotFieldObj::setUseCurrentPage( sal_Bool bUse )
+void ScDataPilotFieldObj::setUseCurrentPage( bool bUse )
{
SolarMutexGuard aGuard;
ScDPObject* pDPObj = 0;
@@ -2341,14 +2341,14 @@ void ScDataPilotFieldObj::setSortInfo( const DataPilotFieldSortInfo* pInfo )
}
}
-sal_Bool ScDataPilotFieldObj::getShowEmpty() const
+bool ScDataPilotFieldObj::getShowEmpty() const
{
SolarMutexGuard aGuard;
ScDPSaveDimension* pDim = GetDPDimension();
return pDim && pDim->GetShowEmpty();
}
-void ScDataPilotFieldObj::setShowEmpty( sal_Bool bShow )
+void ScDataPilotFieldObj::setShowEmpty( bool bShow )
{
SolarMutexGuard aGuard;
ScDPObject* pDPObj = 0;
@@ -2359,7 +2359,7 @@ void ScDataPilotFieldObj::setShowEmpty( sal_Bool bShow )
}
}
-sal_Bool ScDataPilotFieldObj::hasGroupInfo()
+bool ScDataPilotFieldObj::hasGroupInfo()
{
SolarMutexGuard aGuard;
ScDPObject* pDPObj = 0;
@@ -2522,9 +2522,9 @@ void ScDataPilotFieldObj::setGroupInfo( const DataPilotFieldGroupInfo* pInfo )
}
}
-sal_Bool ScDataPilotFieldObj::HasString(const Sequence< OUString >& rItems, const OUString& aString)
+bool ScDataPilotFieldObj::HasString(const Sequence< OUString >& rItems, const OUString& aString)
{
- sal_Bool bRet = false;
+ bool bRet = false;
sal_Int32 nCount(rItems.getLength());
sal_Int32 nItem(0);