summaryrefslogtreecommitdiff
path: root/desktop/source/app
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-20 14:23:40 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-21 16:30:59 +0100
commit9adcf67c9b164d019eebe45279bcaa91b0ce471a (patch)
tree5e323faf067516423e0552c9775d56cb3e5d1a44 /desktop/source/app
parent03ab46c8a189b751ed1acffd0b575fae584c1d00 (diff)
Drop C/C++ DEBUG macro
...(that was defined iff OSL_DEBUG_LEVEL >= 2) and replace its uses with OSL_DEBUG_LEVEL directly Change-Id: I807c15a02cc8ced9852287df0afb4808761d19d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165067 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
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
}