Work around loplugin:oncevar with --disable-dbgutil

Change-Id: I8f2a2910993609dec91e63074a5b9195a2352bb5
This commit is contained in:
Stephan Bergmann
2016-02-11 15:55:00 +01:00
parent e20316ede6
commit d6eaa8d863
2 changed files with 7 additions and 6 deletions

View File

@@ -229,13 +229,13 @@ namespace abp
for ( ; pExistentFields != pExistentFieldsEnd; ++pExistentFields ) for ( ; pExistentFields != pExistentFieldsEnd; ++pExistentFields )
{ {
#ifdef DBG_UTIL SAL_WARN_IF(
OUString sRedundantProgrammaticName; ((aFields.openNode(*pExistentFields)
aFields.openNode( *pExistentFields ).getNodeValue( sProgrammaticNodeName ) >>= sRedundantProgrammaticName; .getNodeValue(sProgrammaticNodeName).get<OUString>())
DBG_ASSERT( sRedundantProgrammaticName == *pExistentFields, != *pExistentFields),
"fieldmapping::writeTemplateAddressFieldMapping: inconsistent config data!" ); "extensions.abpilot",
"fieldmapping::writeTemplateAddressFieldMapping: inconsistent config data!");
// there should be a redundancy in the config data .... if this asserts, there isn't anymore! // there should be a redundancy in the config data .... if this asserts, there isn't anymore!
#endif
// do we have a new alias for the programmatic? // do we have a new alias for the programmatic?
MapString2String::iterator aPos = aFieldAssignment.find( *pExistentFields ); MapString2String::iterator aPos = aFieldAssignment.find( *pExistentFields );

View File

@@ -174,6 +174,7 @@ certain functionality.
@section extensions @section extensions
@li @c extensions.abpilot
@li @c extensions.biblio @li @c extensions.biblio
@li @c extensions.dbpilots @li @c extensions.dbpilots
@li @c extensions.plugin @li @c extensions.plugin