diff options
author | Matthias Huetsch <mhu@openoffice.org> | 2001-03-13 20:07:32 +0000 |
---|---|---|
committer | Matthias Huetsch <mhu@openoffice.org> | 2001-03-13 20:07:32 +0000 |
commit | df26b61ac2fed30f53f68e23613b5dc7a5677b58 (patch) | |
tree | 6349b627b5a3296b328379af2092f08d81b0dfb8 /store/source/stortree.cxx | |
parent | 245d8ffe1be6fe20d09c0cbf0d056088f5f1fc03 (diff) |
Major revision. Removed usage of module 'vos'.
Diffstat (limited to 'store/source/stortree.cxx')
-rw-r--r-- | store/source/stortree.cxx | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx index 69d343f805ef..d5bbe6b99266 100644 --- a/store/source/stortree.cxx +++ b/store/source/stortree.cxx @@ -2,9 +2,9 @@ * * $RCSfile: stortree.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:18:32 $ + * last change: $Author: mhu $ $Date: 2001-03-13 21:03:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -54,12 +54,12 @@ * * All Rights Reserved. * - * Contributor(s): _______________________________________ + * Contributor(s): Matthias Huetsch <matthias.huetsch@sun.com> * * ************************************************************************/ -#define _STORE_STORTREE_CXX "$Revision: 1.1.1.1 $" +#define _STORE_STORTREE_CXX "$Revision: 1.2 $" #ifndef _SAL_TYPES_H_ #include <sal/types.h> @@ -69,22 +69,19 @@ #include <rtl/memory.h> #endif -#ifndef _VOS_DIAGNOSE_HXX_ -#include <vos/diagnose.hxx> +#ifndef _OSL_DIAGNOSE_H_ +#include <osl/diagnose.h> #endif -#ifndef _VOS_MACROS_HXX_ -#include <vos/macros.hxx> +#ifndef _OSL_ENDIAN_H_ +#include <osl/endian.h> #endif -#ifndef _VOS_MUTEX_HXX_ -#include <vos/mutex.hxx> +#ifndef _OSL_MUTEX_HXX_ +#include <osl/mutex.hxx> #endif #ifndef _STORE_TYPES_H_ #include <store/types.h> #endif -#ifndef _STORE_MACROS_HXX_ -#include <store/macros.hxx> -#endif #ifndef _STORE_STORBASE_HXX #include <storbase.hxx> @@ -93,9 +90,7 @@ #include <stortree.hxx> #endif -#ifdef _USE_NAMESPACE using namespace store; -#endif /*======================================================================== * @@ -287,7 +282,7 @@ storeError OStoreBTreeNodeObject::split ( OStoreBTreeNodeData &rPageL, OStoreBTreeNodeData &rPageR, OStorePageBIOS &rBIOS, - NAMESPACE_VOS(IMutex) *pMutex) + osl::Mutex *pMutex) { // Check usage. if (!rPageL.querySplit()) @@ -328,7 +323,7 @@ storeError OStoreBTreeNodeObject::split ( if (eErrCode != store_E_None) { // Must not happen. - VOS_TRACE("OStoreBTreeNodeObject::split(): save() failed"); + OSL_TRACE("OStoreBTreeNodeObject::split(): save() failed"); // Release Lock and Leave. rBIOS.releaseLock (aDescr.m_nAddr, aDescr.m_nSize); @@ -349,7 +344,7 @@ storeError OStoreBTreeNodeObject::split ( if (eErrCode != store_E_None) { // Must not happen. - VOS_TRACE("OStoreBTreeNodeObject::split(): save() failed"); + OSL_TRACE("OStoreBTreeNodeObject::split(): save() failed"); // Release Lock and Leave. rBIOS.releaseLock (aDescr.m_nAddr, aDescr.m_nSize); @@ -376,7 +371,7 @@ storeError OStoreBTreeNodeObject::remove ( OStoreBTreeNodeData &rPageR, #endif /* NYI */ OStorePageBIOS &rBIOS, - NAMESPACE_VOS(IMutex) *pMutex) + osl::Mutex *pMutex) { // Enter. STORE_METHOD_ENTER(pMutex); @@ -424,7 +419,7 @@ storeError OStoreBTreeNodeObject::remove ( if (eErrCode != store_E_None) { // Must not happen. - VOS_TRACE("OStoreBTreeNodeObject::remove(): load() failed"); + OSL_TRACE("OStoreBTreeNodeObject::remove(): load() failed"); // Release Lock and Leave. rBIOS.releaseLock (aDescr.m_nAddr, aDescr.m_nSize); @@ -500,7 +495,7 @@ storeError OStoreBTreeNodeObject::remove ( if (eErrCode != store_E_None) { // Must not happen. - VOS_TRACE("OStoreBTreeNodeObject::remove(): save() failed"); + OSL_TRACE("OStoreBTreeNodeObject::remove(): save() failed"); // Release Lock and Leave. rBIOS.releaseLock (aDescr.m_nAddr, aDescr.m_nSize); @@ -524,7 +519,7 @@ storeError OStoreBTreeNodeObject::remove ( storeError OStoreBTreeRootObject::change ( OStoreBTreeNodeData &rPageL, OStorePageBIOS &rBIOS, - NAMESPACE_VOS(IMutex) *pMutex) + osl::Mutex *pMutex) { // Enter. STORE_METHOD_ENTER(pMutex); @@ -561,7 +556,7 @@ storeError OStoreBTreeRootObject::change ( if (eErrCode != store_E_None) { // Must not happen. - VOS_TRACE("OStoreBTreeRootObject::change(): save() failed"); + OSL_TRACE("OStoreBTreeRootObject::change(): save() failed"); // Release Lock and Leave. rBIOS.releaseLock (aDescr.m_nAddr, aDescr.m_nSize); @@ -585,7 +580,7 @@ storeError OStoreBTreeRootObject::split ( OStoreBTreeNodeData &rPageL, OStoreBTreeNodeData &rPageR, OStorePageBIOS &rBIOS, - NAMESPACE_VOS(IMutex) *pMutex) + osl::Mutex *pMutex) { // Check usage. if (!querySplit()) |