summaryrefslogtreecommitdiff
path: root/include/svl/whichranges.hxx
diff options
context:
space:
mode:
authorArmin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de>2024-03-20 11:05:16 +0100
committerArmin Le Grand <Armin.Le.Grand@me.com>2024-03-21 01:42:10 +0100
commit2d16901bd49fbb3a6c89bd06f6142aaad87be981 (patch)
tree431415ff1def8790d624102b207ea33edb5775af /include/svl/whichranges.hxx
parent55feb670ca28e0a48ac82a65b5559598704d993e (diff)
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 <Armin.Le.Grand@me.com>
Diffstat (limited to 'include/svl/whichranges.hxx')
-rw-r--r--include/svl/whichranges.hxx2
1 files changed, 1 insertions, 1 deletions
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)