summaryrefslogtreecommitdiff
path: root/shell
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 /shell
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 'shell')
-rw-r--r--shell/inc/utilities.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/inc/utilities.hxx b/shell/inc/utilities.hxx
index 1941d85e658a..823c18791240 100644
--- a/shell/inc/utilities.hxx
+++ b/shell/inc/utilities.hxx
@@ -74,7 +74,7 @@ std::wstring getShortPathName(const std::wstring& aLongName);
LCID LocaleSetToLCID(const LocaleSet_t& Locale);
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL >= 2
inline void OutputDebugStringFormatW(LPCWSTR pFormat, ...)
{
WCHAR buffer[1024];