diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-02 23:13:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-02 23:13:49 +0100 |
commit | b35e797ca0e2c7e7ad6dbccea6b92208b209677c (patch) | |
tree | d4963fd600212c00167824a1839c30200d753af1 /comphelper | |
parent | c5d16f557c3dbac8b7c0736216e8da5d681d8075 (diff) |
Assume this shall be conditional on DBG_UTIL
...and not that MSVC-special _DEBUG
Change-Id: I927f1d49dcbb24fd8fb91032ded6215390c97d79
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/property/propertystatecontainer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/property/propertystatecontainer.cxx b/comphelper/source/property/propertystatecontainer.cxx index 3b5e7ed7506b..01cfe365e309 100644 --- a/comphelper/source/property/propertystatecontainer.cxx +++ b/comphelper/source/property/propertystatecontainer.cxx @@ -89,7 +89,7 @@ namespace comphelper if ( !nProperties ) return aStates; -#ifdef _DEBUG +#ifdef DBG_UTIL // precondition: property sequence is sorted (the algorithm below relies on this) { const OUString* pNames = _rPropertyNames.getConstArray(); @@ -114,7 +114,7 @@ namespace comphelper osl::MutexGuard aGuard( rBHelper.rMutex ); for ( ; ( pAllProperties != pAllPropertiesEnd ) && ( pLookup != pLookupEnd ); ++pAllProperties ) { -#ifdef _DEBUG +#ifdef DBG_UTIL if ( pAllProperties < pAllPropertiesEnd - 1 ) OSL_ENSURE( pAllProperties->Name.compareTo( (pAllProperties + 1)->Name ) < 0, "OPropertyStateContainer::getPropertyStates: all-properties not sorted!" ); |