summaryrefslogtreecommitdiff
path: root/cpputools/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 15:44:12 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 15:44:12 +0000
commit85667cfc4786f302c56644b0c2a57da365dc8b99 (patch)
treece8b59b4643ad82469a767a8453524935b9196f6 /cpputools/source
parenta3719e21e269a6c121dc93c25e34e9fb3038e45e (diff)
INTEGRATION: CWS dbgmacros1 (1.14.48); FILE MERGED
2003/04/09 10:41:12 kso 1.14.48.1: #108413# - debug macro unification.
Diffstat (limited to 'cpputools/source')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index 7cfe761e55e6..ae1d9b685d8c 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoexe.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: jsc $ $Date: 2001-08-17 12:59:29 $
+ * last change: $Author: vg $ $Date: 2003-04-15 16:44:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -206,7 +206,7 @@ static sal_Bool readOption( OUString * pValue, const sal_Char * pOpt,
}
else
{
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
out( "\n> identified option -" );
out( pOpt );
out( " = " );
@@ -220,7 +220,7 @@ static sal_Bool readOption( OUString * pValue, const sal_Char * pOpt,
else if (aArg.indexOf(aOpt) == 1)
{
*pValue = aArg.copy(1 + aOpt.getLength());
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
out( "\n> identified option -" );
out( pOpt );
out( " = " );
@@ -244,7 +244,7 @@ static sal_Bool readOption( sal_Bool * pbOpt, const sal_Char * pOpt,
{
++(*pnIndex);
*pbOpt = sal_True;
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
out( "\n> identified option --" );
out( pOpt );
#endif
@@ -726,7 +726,7 @@ extern "C" int SAL_CALL main( int argc, const char * argv[] )
// ReadOnly registries
for ( size_t nReg = 0; nReg < aReadOnlyRegistries.size(); ++nReg )
{
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
out( "\n> trying to open ro registry: " );
out( OUStringToOString( aReadOnlyRegistries[ nReg ], RTL_TEXTENCODING_ASCII_US ).getStr() );
#endif
@@ -737,7 +737,7 @@ extern "C" int SAL_CALL main( int argc, const char * argv[] )
}
if (aReadWriteRegistry.getLength())
{
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
out( "\n> trying to open rw registry: " );
out( OUStringToOString( aReadWriteRegistry, RTL_TEXTENCODING_ASCII_US ).getStr() );
#endif