Kaydet (Commit) 824c59a3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

store: sal_Bool -> bool

Change-Id: I7d108e7ae387f9c07cce182a0bb09b69a6608226
üst e59ae07a
......@@ -326,7 +326,7 @@ public:
@param it [in] current directory entry.
@return sal_True to continue iteration, sal_False to stop.
*/
virtual sal_Bool visit (const iterator& it) = 0;
virtual bool visit (const iterator& it) = 0;
protected:
~traveller() {}
......
......@@ -71,7 +71,7 @@ void OStoreObject::operator delete (void *p)
/*
* isKindOf.
*/
sal_Bool SAL_CALL OStoreObject::isKindOf (sal_uInt32 nTypeId)
bool SAL_CALL OStoreObject::isKindOf (sal_uInt32 nTypeId)
{
return (nTypeId == m_nTypeId);
}
......
......@@ -39,7 +39,7 @@ class IStoreHandle : public rtl::IReference
public:
/** Replaces dynamic_cast type checking.
*/
virtual sal_Bool SAL_CALL isKindOf (sal_uInt32 nTypeId) = 0;
virtual bool SAL_CALL isKindOf (sal_uInt32 nTypeId) = 0;
protected:
~IStoreHandle() {}
......@@ -76,7 +76,7 @@ public:
/** IStoreHandle.
*/
virtual sal_Bool SAL_CALL isKindOf (sal_uInt32 nTypeId);
virtual bool SAL_CALL isKindOf (sal_uInt32 nTypeId);
/** IReference.
*/
......
......@@ -98,7 +98,7 @@ struct OStoreSuperBlock
/** Comparison.
*/
sal_Bool operator== (const OStoreSuperBlock & rhs) const
bool operator== (const OStoreSuperBlock & rhs) const
{
return ((m_aGuard == rhs.m_aGuard ) &&
(m_aDescr == rhs.m_aDescr ) &&
......
......@@ -83,7 +83,7 @@ public:
/** isValid.
*/
inline sal_Bool isValid (void) const;
inline bool isValid (void) const;
/** Page Access.
*/
......@@ -233,7 +233,7 @@ inline bool OStorePageBIOS::isWriteable (void) const
{
return m_bWriteable;
}
inline sal_Bool OStorePageBIOS::isValid (void) const
inline bool OStorePageBIOS::isValid (void) const
{
return m_xLockBytes.is();
}
......
......@@ -92,7 +92,7 @@ OStoreDirectory_Impl::~OStoreDirectory_Impl (void)
/*
* isKindOf.
*/
sal_Bool SAL_CALL OStoreDirectory_Impl::isKindOf (sal_uInt32 nTypeId)
bool SAL_CALL OStoreDirectory_Impl::isKindOf (sal_uInt32 nTypeId)
{
return (nTypeId == m_nTypeId);
}
......
......@@ -70,7 +70,7 @@ public:
/** IStoreHandle.
*/
virtual sal_Bool SAL_CALL isKindOf (sal_uInt32 nTypeId);
virtual bool SAL_CALL isKindOf (sal_uInt32 nTypeId);
protected:
/** Destruction.
......
......@@ -66,7 +66,7 @@ OStoreLockBytes::~OStoreLockBytes (void)
/*
* isKindOf.
*/
sal_Bool SAL_CALL OStoreLockBytes::isKindOf (sal_uInt32 nTypeId)
bool SAL_CALL OStoreLockBytes::isKindOf (sal_uInt32 nTypeId)
{
return (nTypeId == m_nTypeId);
}
......
......@@ -105,7 +105,7 @@ public:
/** IStoreHandle.
*/
virtual sal_Bool SAL_CALL isKindOf (sal_uInt32 nMagic);
virtual bool SAL_CALL isKindOf (sal_uInt32 nMagic);
protected:
/** Destruction (OReference).
......
......@@ -61,7 +61,7 @@ OStorePageManager::~OStorePageManager (void)
/*
* isKindOf.
*/
sal_Bool SAL_CALL OStorePageManager::isKindOf (sal_uInt32 nTypeId)
bool SAL_CALL OStorePageManager::isKindOf (sal_uInt32 nTypeId)
{
return (nTypeId == m_nTypeId);
}
......
......@@ -58,7 +58,7 @@ public:
* @return sal_True upon successful initialization,
* sal_False otherwise.
*/
inline sal_Bool isValid (void) const;
inline bool isValid (void) const;
/** DirectoryPage I/O (managed).
*/
......@@ -130,7 +130,7 @@ public:
/** IStoreHandle.
*/
virtual sal_Bool SAL_CALL isKindOf (sal_uInt32 nTypeId);
virtual bool SAL_CALL isKindOf (sal_uInt32 nTypeId);
protected:
/** Destruction.
......@@ -190,7 +190,7 @@ private:
OStorePageManager& operator= (const OStorePageManager&);
};
inline sal_Bool OStorePageManager::isValid (void) const
inline bool OStorePageManager::isValid (void) const
{
return (base::isValid() /* @@@ NYI && (m_aRoot.is()) */);
}
......
......@@ -198,14 +198,14 @@ struct OStoreBTreeNodeData : public store::OStorePageData
/** queryMerge.
*/
sal_Bool queryMerge (const self &rPageR) const
bool queryMerge (const self &rPageR) const
{
return ((usageCount() + rPageR.usageCount()) <= capacityCount());
}
/** querySplit.
*/
sal_Bool querySplit (void) const
bool querySplit (void) const
{
return (!(usageCount() < capacityCount()));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment