diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2018-11-18 14:58:45 -0500 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-03-01 17:24:08 +0100 |
commit | f41382d2386196a400fc5d71efb799728f5eda39 (patch) | |
tree | 6522333e613799d2537c6fdae5e676ee2080b4f3 /sd/source | |
parent | 74fbe07431f1d53997cbbe24acb91cde25622133 (diff) |
sd: use OSL_DEBUG_LEVEL instead of DEBUG
Change-Id: I0703a1564a23657e956e43fe4cbf1d9549acb94f
Reviewed-on: https://gerrit.libreoffice.org/68258
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/framework/configuration/ConfigurationTracer.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/framework/configuration/ConfigurationTracer.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
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, |