include/svl/whichranges.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2d16901bd49fbb3a6c89bd06f6142aaad87be981 Author: Armin Le Grand (allotropia) <[email protected]> AuthorDate: Wed Mar 20 11:05:16 2024 +0100 Commit: Armin Le Grand <[email protected]> CommitDate: Thu Mar 21 01:42:10 2024 +0100 ITEM: Added correct NDEBUG define Method validRanges2() was encapsulated by DBG_UTIL but used inside assert, so adapted the define Change-Id: I695a0c85f389d0c37b24e6e1986037ce6fb0c805 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165052 Tested-by: Jenkins Reviewed-by: Armin Le Grand <[email protected]> diff --git a/include/svl/whichranges.hxx b/include/svl/whichranges.hxx index fa742584ebb4..0ed5e56835c4 100644 --- a/include/svl/whichranges.hxx +++ b/include/svl/whichranges.hxx @@ -102,7 +102,7 @@ class SVL_DLLPUBLIC WhichRangesContainer void CountRanges() const; public: -#ifdef DBG_UTIL +#if !defined NDEBUG inline bool validRanges2() const { for (sal_Int32 i = 0; i < size(); ++i)
