Kaydet (Commit) f41382d2 authored tarafından Ashod Nakashian's avatar Ashod Nakashian Kaydeden (comit) Andras Timar

sd: use OSL_DEBUG_LEVEL instead of DEBUG

Change-Id: I0703a1564a23657e956e43fe4cbf1d9549acb94f
Reviewed-on: https://gerrit.libreoffice.org/68258Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst 74fbe074
...@@ -31,7 +31,7 @@ void ConfigurationTracer::TraceConfiguration ( ...@@ -31,7 +31,7 @@ void ConfigurationTracer::TraceConfiguration (
const Reference<XConfiguration>& rxConfiguration, const Reference<XConfiguration>& rxConfiguration,
const char* pMessage) const char* pMessage)
{ {
#ifdef DEBUG #if OSL_DEBUG_LEVEL >=1
SAL_INFO("sd.ui","" << pMessage << " at " << rxConfiguration.get() << " {"); SAL_INFO("sd.ui","" << pMessage << " at " << rxConfiguration.get() << " {");
if (rxConfiguration.is()) if (rxConfiguration.is())
{ {
...@@ -48,7 +48,7 @@ void ConfigurationTracer::TraceConfiguration ( ...@@ -48,7 +48,7 @@ void ConfigurationTracer::TraceConfiguration (
#endif #endif
} }
#ifdef DEBUG #if OSL_DEBUG_LEVEL >=1
void ConfigurationTracer::TraceBoundResources ( void ConfigurationTracer::TraceBoundResources (
const Reference<XConfiguration>& rxConfiguration, const Reference<XConfiguration>& rxConfiguration,
const Reference<XResourceId>& rxResourceId, const Reference<XResourceId>& rxResourceId,
......
...@@ -33,7 +33,7 @@ public: ...@@ -33,7 +33,7 @@ public:
static void TraceConfiguration ( static void TraceConfiguration (
const css::uno::Reference<css::drawing::framework::XConfiguration>& rxConfiguration, const css::uno::Reference<css::drawing::framework::XConfiguration>& rxConfiguration,
const char* pMessage); const char* pMessage);
#ifdef DEBUG #if OSL_DEBUG_LEVEL >=1
static void TraceBoundResources ( static void TraceBoundResources (
const css::uno::Reference<css::drawing::framework::XConfiguration>& rxConfiguration, const css::uno::Reference<css::drawing::framework::XConfiguration>& rxConfiguration,
const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId, const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment