--- a/main/forms/source/xforms/propertysetbase.cxx +++ b/main/forms/source/xforms/propertysetbase.cxx @@ -140,7 +140,7 @@ void PropertySetBase::initializePropertyValueCache( sal_Int3 Any aCurrentValue; getFastPropertyValue( aCurrentValue, nHandle ); -#if OSL_DEBUG_LEVEL > 0 +#ifdef OSL_DEBUG_LEVEL ::std::pair< PropertyValueCache::iterator, bool > aInsertResult = #endif m_aCache.insert( PropertyValueCache::value_type( nHandle, aCurrentValue ) )