summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index d048d600f496..7f4c800b1002 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -292,11 +292,16 @@ static bool IsFieldNestingAllowed(const FieldContextPtr& pOuter, const FieldCont
case FIELD_IF:
case FIELD_MERGEFIELD:
case FIELD_REF:
+ case FIELD_PAGE:
+ case FIELD_NUMPAGES:
{
// LO does not currently know how to evaluate these as conditions or results
return false;
}
default:
+ SAL_WARN("writerfilter","found field["<<*pInner->GetFieldId()<<"] defined in FieldTypes.hxx");
+ assert(false && "looking for example documents using { IF } with fields for condition or result");
+ return false;
break;
}
break;