[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sd/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Mar 1 16:24:35 UTC 2019
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.nakashian at collabora.co.uk>
AuthorDate: Sun Nov 18 14:58:45 2018 -0500
Commit: Andras Timar <andras.timar at 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.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at 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,
More information about the Libreoffice-commits
mailing list