INTEGRATION: CWS dbgmacros1 (1.34.10); FILE MERGED
2003/04/09 10:40:12 kso 1.34.10.1: #108413# - debug macro unification.
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: servicefactory.cxx,v $
|
* $RCSfile: servicefactory.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.34 $
|
* $Revision: 1.35 $
|
||||||
*
|
*
|
||||||
* last change: $Author: vg $ $Date: 2003-03-20 12:26:34 $
|
* last change: $Author: vg $ $Date: 2003-04-15 16:35:15 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
*
|
*
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#if OSL_DEBUG_LEVEL > 0
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -159,7 +159,7 @@ Reference< registry::XSimpleRegistry > SAL_CALL createSimpleRegistry(
|
|||||||
}
|
}
|
||||||
catch (Exception & exc)
|
catch (Exception & exc)
|
||||||
{
|
{
|
||||||
#if defined _DEBUG
|
#if OSL_DEBUG_LEVEL > 0
|
||||||
OString cstr_msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
|
OString cstr_msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
|
||||||
OSL_ENSURE( !"### exception occured:", cstr_msg.getStr() );
|
OSL_ENSURE( !"### exception occured:", cstr_msg.getStr() );
|
||||||
#endif
|
#endif
|
||||||
@@ -186,7 +186,7 @@ Reference< registry::XSimpleRegistry > SAL_CALL createNestedRegistry(
|
|||||||
}
|
}
|
||||||
catch (Exception & exc)
|
catch (Exception & exc)
|
||||||
{
|
{
|
||||||
#if defined _DEBUG
|
#if OSL_DEBUG_LEVEL > 0
|
||||||
OString cstr_msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
|
OString cstr_msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
|
||||||
OSL_ENSURE( !"### exception occured:", cstr_msg.getStr() );
|
OSL_ENSURE( !"### exception occured:", cstr_msg.getStr() );
|
||||||
#endif
|
#endif
|
||||||
@@ -420,7 +420,7 @@ Reference< XComponentContext > bootstrapInitialContext(
|
|||||||
}
|
}
|
||||||
catch (Exception & rExc)
|
catch (Exception & rExc)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#if OSL_DEBUG_LEVEL > 0
|
||||||
OString aStr( OUStringToOString(
|
OString aStr( OUStringToOString(
|
||||||
xKey->getKeyName().copy( 11 ), RTL_TEXTENCODING_ASCII_US ) );
|
xKey->getKeyName().copy( 11 ), RTL_TEXTENCODING_ASCII_US ) );
|
||||||
OString aStr2( OUStringToOString(
|
OString aStr2( OUStringToOString(
|
||||||
|
Reference in New Issue
Block a user