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>
diff --git a/include/svl/whichranges.hxx b/include/svl/whichranges.hxx
index fa74258..0ed5e56 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)