diff options
Diffstat (limited to 'cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx')
-rw-r--r-- | cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx index 8f46ce7a875a..23c3510a4c9f 100644 --- a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx +++ b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx @@ -27,24 +27,8 @@ #include "uno/dispatcher.h" #include "typelib/typedescription.h" - -#ifdef debug -# define LOG_LIFECYCLE_cppu_helper_purpenv_Mapping -#endif - -#ifdef LOG_LIFECYCLE_cppu_helper_purpenv_Mapping -# include <iostream> -# define LOG_LIFECYCLE_cppu_helper_purpenv_Mapping_emit(x) x - -#else -# define LOG_LIFECYCLE_cppu_helper_purpenv_Mapping_emit(x) - -#endif - - using namespace com::sun::star; - class Mapping : public uno_Mapping { uno::Environment m_from; @@ -128,7 +112,7 @@ Mapping::Mapping(uno_Environment * pFrom, m_probeFun(probeFun), m_pContext(pProbeContext) { - LOG_LIFECYCLE_cppu_helper_purpenv_Mapping_emit(fprintf(stderr, "LIFE: %s -> %p\n", "Mapping::Mapping(uno_Environment * pFrom, uno_Environment * pTo)", this)); + SAL_INFO("cppu.purpenv", "LIFE: Mapping::Mapping(uno_Environment * pFrom, uno_Environment * pTo -> " << this); uno_Mapping::acquire = s_acquire; uno_Mapping::release = s_release; @@ -137,7 +121,7 @@ Mapping::Mapping(uno_Environment * pFrom, Mapping::~Mapping() { - LOG_LIFECYCLE_cppu_helper_purpenv_Mapping_emit(fprintf(stderr, "LIFE: %s -> %p\n", "Mapping::~Mapping()", this)); + SAL_INFO("cppu.purpenv", "LIFE: Mapping:~Mapping() -> " << this); } |