sd/source/ui/framework/configuration/ConfigurationTracer.cxx |    4 ++--
 sd/source/ui/framework/configuration/ConfigurationTracer.hxx |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit f41382d2386196a400fc5d71efb799728f5eda39
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Sun Nov 18 14:58:45 2018 -0500
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Fri Mar 1 17:24:08 2019 +0100

    sd: use OSL_DEBUG_LEVEL instead of DEBUG
    
    Change-Id: I0703a1564a23657e956e43fe4cbf1d9549acb94f
    Reviewed-on: https://gerrit.libreoffice.org/68258
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>
    Tested-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/sd/source/ui/framework/configuration/ConfigurationTracer.cxx 
b/sd/source/ui/framework/configuration/ConfigurationTracer.cxx
index 4db6aa54d8c9..14dedd6b1cd9 100644
--- a/sd/source/ui/framework/configuration/ConfigurationTracer.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationTracer.cxx
@@ -31,7 +31,7 @@ void ConfigurationTracer::TraceConfiguration (
     const Reference<XConfiguration>& rxConfiguration,
     const char* pMessage)
 {
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL >=1
     SAL_INFO("sd.ui","" << pMessage << " at " << rxConfiguration.get() << " 
{");
     if (rxConfiguration.is())
     {
@@ -48,7 +48,7 @@ void ConfigurationTracer::TraceConfiguration (
 #endif
 }
 
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL >=1
 void ConfigurationTracer::TraceBoundResources (
     const Reference<XConfiguration>& rxConfiguration,
     const Reference<XResourceId>& rxResourceId,
diff --git a/sd/source/ui/framework/configuration/ConfigurationTracer.hxx 
b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
index 991141843728..c78c4d986ab5 100644
--- a/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
@@ -33,7 +33,7 @@ public:
     static void TraceConfiguration (
         const css::uno::Reference<css::drawing::framework::XConfiguration>& 
rxConfiguration,
         const char* pMessage);
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL >=1
     static void TraceBoundResources (
         const css::uno::Reference<css::drawing::framework::XConfiguration>& 
rxConfiguration,
         const css::uno::Reference<css::drawing::framework::XResourceId>& 
rxResourceId,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to