summaryrefslogtreecommitdiff
path: root/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-07-15 10:34:15 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-07-17 21:46:35 +0200
commit2cbd4121685b5c2f2cfddea6775171aaee72a4c1 (patch)
tree3a6be9097e7ff17527707975eeb3922384544101 /cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx
parentfab7288516d442289a7b6f3a27b9aca8d23f3b5b (diff)
cppu: remove unnecessary LOG_LIFECYCLE_* macros
Change-Id: I0f19cf7045e6ff2906404a73ce710e42800c0a72 Reviewed-on: https://gerrit.libreoffice.org/39994 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx')
-rw-r--r--cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx20
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);
}