summaryrefslogtreecommitdiff
path: root/desktop/source/app
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/app')
-rw-r--r--desktop/source/app/check_ext_deps.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/check_ext_deps.cxx b/desktop/source/app/check_ext_deps.cxx
index 58e2375c6537..7f76d155c31e 100644
--- a/desktop/source/app/check_ext_deps.cxx
+++ b/desktop/source/app/check_ext_deps.cxx
@@ -255,7 +255,7 @@ static bool impl_checkDependencies( const uno::Reference< uno::XComponentContext
e.Context, anyEx );
}
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL >= 2
sal_Int32 const nMax = 3;
#else
sal_Int32 const nMax = 2;
@@ -362,7 +362,7 @@ static bool impl_needsCompatCheck()
pset->setPropertyValue("LastCompatibilityCheckID", result );
Reference< util::XChangesBatch >( pset, UNO_QUERY_THROW )->commitChanges();
}
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL >= 2
bNeedsCheck = true;
#endif
}