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: ...@@ -326,7 +326,7 @@ public:
@param it [in] current directory entry. @param it [in] current directory entry.
@return sal_True to continue iteration, sal_False to stop. @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: protected:
~traveller() {} ~traveller() {}
......
...@@ -71,7 +71,7 @@ void OStoreObject::operator delete (void *p) ...@@ -71,7 +71,7 @@ void OStoreObject::operator delete (void *p)
/* /*
* isKindOf. * isKindOf.
*/ */
sal_Bool SAL_CALL OStoreObject::isKindOf (sal_uInt32 nTypeId) bool SAL_CALL OStoreObject::isKindOf (sal_uInt32 nTypeId)
{ {
return (nTypeId == m_nTypeId); return (nTypeId == m_nTypeId);
} }
......
...@@ -39,7 +39,7 @@ class IStoreHandle : public rtl::IReference ...@@ -39,7 +39,7 @@ class IStoreHandle : public rtl::IReference
public: public:
/** Replaces dynamic_cast type checking. /** 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: protected:
~IStoreHandle() {} ~IStoreHandle() {}
...@@ -76,7 +76,7 @@ public: ...@@ -76,7 +76,7 @@ public:
/** IStoreHandle. /** IStoreHandle.
*/ */
virtual sal_Bool SAL_CALL isKindOf (sal_uInt32 nTypeId); virtual bool SAL_CALL isKindOf (sal_uInt32 nTypeId);
/** IReference. /** IReference.
*/ */
......
...@@ -98,7 +98,7 @@ struct OStoreSuperBlock ...@@ -98,7 +98,7 @@ struct OStoreSuperBlock
/** Comparison. /** Comparison.
*/ */
sal_Bool operator== (const OStoreSuperBlock & rhs) const bool operator== (const OStoreSuperBlock & rhs) const
{ {
return ((m_aGuard == rhs.m_aGuard ) && return ((m_aGuard == rhs.m_aGuard ) &&
(m_aDescr == rhs.m_aDescr ) && (m_aDescr == rhs.m_aDescr ) &&
......
...@@ -83,7 +83,7 @@ public: ...@@ -83,7 +83,7 @@ public:
/** isValid. /** isValid.
*/ */
inline sal_Bool isValid (void) const; inline bool isValid (void) const;
/** Page Access. /** Page Access.
*/ */
...@@ -233,7 +233,7 @@ inline bool OStorePageBIOS::isWriteable (void) const ...@@ -233,7 +233,7 @@ inline bool OStorePageBIOS::isWriteable (void) const
{ {
return m_bWriteable; return m_bWriteable;
} }
inline sal_Bool OStorePageBIOS::isValid (void) const inline bool OStorePageBIOS::isValid (void) const
{ {
return m_xLockBytes.is(); return m_xLockBytes.is();
} }
......
...@@ -92,7 +92,7 @@ OStoreDirectory_Impl::~OStoreDirectory_Impl (void) ...@@ -92,7 +92,7 @@ OStoreDirectory_Impl::~OStoreDirectory_Impl (void)
/* /*
* isKindOf. * isKindOf.
*/ */
sal_Bool SAL_CALL OStoreDirectory_Impl::isKindOf (sal_uInt32 nTypeId) bool SAL_CALL OStoreDirectory_Impl::isKindOf (sal_uInt32 nTypeId)
{ {
return (nTypeId == m_nTypeId); return (nTypeId == m_nTypeId);
} }
......
...@@ -70,7 +70,7 @@ public: ...@@ -70,7 +70,7 @@ public:
/** IStoreHandle. /** IStoreHandle.
*/ */
virtual sal_Bool SAL_CALL isKindOf (sal_uInt32 nTypeId); virtual bool SAL_CALL isKindOf (sal_uInt32 nTypeId);
protected: protected:
/** Destruction. /** Destruction.
......
...@@ -66,7 +66,7 @@ OStoreLockBytes::~OStoreLockBytes (void) ...@@ -66,7 +66,7 @@ OStoreLockBytes::~OStoreLockBytes (void)
/* /*
* isKindOf. * isKindOf.
*/ */
sal_Bool SAL_CALL OStoreLockBytes::isKindOf (sal_uInt32 nTypeId) bool SAL_CALL OStoreLockBytes::isKindOf (sal_uInt32 nTypeId)
{ {
return (nTypeId == m_nTypeId); return (nTypeId == m_nTypeId);
} }
......
...@@ -105,7 +105,7 @@ public: ...@@ -105,7 +105,7 @@ public:
/** IStoreHandle. /** IStoreHandle.
*/ */
virtual sal_Bool SAL_CALL isKindOf (sal_uInt32 nMagic); virtual bool SAL_CALL isKindOf (sal_uInt32 nMagic);
protected: protected:
/** Destruction (OReference). /** Destruction (OReference).
......
...@@ -61,7 +61,7 @@ OStorePageManager::~OStorePageManager (void) ...@@ -61,7 +61,7 @@ OStorePageManager::~OStorePageManager (void)
/* /*
* isKindOf. * isKindOf.
*/ */
sal_Bool SAL_CALL OStorePageManager::isKindOf (sal_uInt32 nTypeId) bool SAL_CALL OStorePageManager::isKindOf (sal_uInt32 nTypeId)
{ {
return (nTypeId == m_nTypeId); return (nTypeId == m_nTypeId);
} }
......
...@@ -58,7 +58,7 @@ public: ...@@ -58,7 +58,7 @@ public:
* @return sal_True upon successful initialization, * @return sal_True upon successful initialization,
* sal_False otherwise. * sal_False otherwise.
*/ */
inline sal_Bool isValid (void) const; inline bool isValid (void) const;
/** DirectoryPage I/O (managed). /** DirectoryPage I/O (managed).
*/ */
...@@ -130,7 +130,7 @@ public: ...@@ -130,7 +130,7 @@ public:
/** IStoreHandle. /** IStoreHandle.
*/ */
virtual sal_Bool SAL_CALL isKindOf (sal_uInt32 nTypeId); virtual bool SAL_CALL isKindOf (sal_uInt32 nTypeId);
protected: protected:
/** Destruction. /** Destruction.
...@@ -190,7 +190,7 @@ private: ...@@ -190,7 +190,7 @@ private:
OStorePageManager& operator= (const OStorePageManager&); OStorePageManager& operator= (const OStorePageManager&);
}; };
inline sal_Bool OStorePageManager::isValid (void) const inline bool OStorePageManager::isValid (void) const
{ {
return (base::isValid() /* @@@ NYI && (m_aRoot.is()) */); return (base::isValid() /* @@@ NYI && (m_aRoot.is()) */);
} }
......
...@@ -198,14 +198,14 @@ struct OStoreBTreeNodeData : public store::OStorePageData ...@@ -198,14 +198,14 @@ struct OStoreBTreeNodeData : public store::OStorePageData
/** queryMerge. /** queryMerge.
*/ */
sal_Bool queryMerge (const self &rPageR) const bool queryMerge (const self &rPageR) const
{ {
return ((usageCount() + rPageR.usageCount()) <= capacityCount()); return ((usageCount() + rPageR.usageCount()) <= capacityCount());
} }
/** querySplit. /** querySplit.
*/ */
sal_Bool querySplit (void) const bool querySplit (void) const
{ {
return (!(usageCount() < capacityCount())); 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