diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 16:43:24 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 16:43:24 +0000 |
commit | b551bcca14c88a42e59e1957b9a3ba8f51894172 (patch) | |
tree | 161fc106ad80ffd354411a456e2ca03e33729163 /sal/osl/unx | |
parent | 2b33c792ed0e4d3390ec22ec450d8f9b22cc2d6d (diff) |
INTEGRATION: CWS dbgmacros1 (1.11.74); FILE MERGED
2003/04/09 12:08:25 kso 1.11.74.1: #108413# - debug macro unification.
Diffstat (limited to 'sal/osl/unx')
-rw-r--r-- | sal/osl/unx/profile.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/osl/unx/profile.c b/sal/osl/unx/profile.c index 4bf2a6c89d83..4fa0976c6af0 100644 --- a/sal/osl/unx/profile.c +++ b/sal/osl/unx/profile.c @@ -2,9 +2,9 @@ * * $RCSfile: profile.c,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: obr $ $Date: 2002-10-11 08:12:26 $ + * last change: $Author: vg $ $Date: 2003-04-15 17:43:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -506,7 +506,7 @@ sal_Bool SAL_CALL osl_flushProfile(oslProfile Profile) static sal_Bool writeProfileImpl(osl_TFile* pFile) { int BytesWritten=0; -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 unsigned int nLen=0; #endif @@ -527,7 +527,7 @@ static sal_Bool writeProfileImpl(osl_TFile* pFile) pFile->m_pWriteBuf,pFile->m_nWriteBufLen,strlen(pFile->m_pWriteBuf),pFile->m_nWriteBufLen - pFile->m_nWriteBufFree);*/ #endif -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 nLen=strlen(pFile->m_pWriteBuf); OSL_ASSERT(nLen == (pFile->m_nWriteBufLen - pFile->m_nWriteBufFree)); #endif @@ -541,7 +541,7 @@ static sal_Bool writeProfileImpl(osl_TFile* pFile) return (sal_False); } -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 OSL_ASSERT(BytesWritten == nLen); #endif |