diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 16:39:04 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 16:39:04 +0000 |
commit | 47e97b2a7f4195fefc076cfedf003e000a1a395c (patch) | |
tree | 843f6d7ca0da9ec450a858621dc2c0b702a81a4c /connectivity | |
parent | 029d1e2dcd9108bf82932d1b800f163db6f0433d (diff) |
INTEGRATION: CWS dbgmacros1 (1.9.56); FILE MERGED
2003/04/15 15:30:54 kso 1.9.56.2: RESYNC: (1.9-1.10); FILE MERGED
2003/04/09 10:23:32 kso 1.9.56.1: #108413# - debug macro unification.
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx index 5a175c28fb35..e605bc6def16 100644 --- a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx +++ b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx @@ -2,9 +2,9 @@ * * $RCSfile: MQuery.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: vg $ $Date: 2003-04-11 14:40:45 $ + * last change: $Author: vg $ $Date: 2003-04-15 17:39:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,11 +73,11 @@ #include "MTypeConverter.hxx" #endif -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 # define OUtoCStr( x ) ( ::rtl::OUStringToOString ( (x), RTL_TEXTENCODING_ASCII_US).getStr()) -#else /* _DEBUG */ +#else /* OSL_DEBUG_LEVEL */ # define OUtoCStr( x ) ("dummy") -#endif /* _DEBUG */ +#endif /* OSL_DEBUG_LEVEL */ static NS_DEFINE_CID(kRDFServiceCID, NS_RDFSERVICE_CID); static NS_DEFINE_CID(kAbDirectoryQueryArgumentsCID, NS_ABDIRECTORYQUERYARGUMENTS_CID); @@ -426,10 +426,10 @@ sal_Int32 MQuery::executeQuery(OConnection* _pCon) NS_ENSURE_SUCCESS(rv, rv); OSL_TRACE("Using the directoryQueryProxy\n"); } -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 else OSL_TRACE("Not using a Query Proxy, Query i/f supported by directory\n"); -#endif /* DEBUG */ +#endif /* OSL_DEBUG_LEVEL */ /* // The problem here is that an LDAP Address Book may exist as @@ -507,7 +507,7 @@ sal_Int32 MQuery::executeQuery(OConnection* _pCon) m_aQueryHelper->notifyQueryError() ; return(-1); } -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 else { OSL_TRACE( "****** DoQuery succeeded \n"); } |