summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/utlui/content.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index a20e792a9fbd..a1eaab07fb87 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -683,6 +683,7 @@ void SwContentType::FillMemberList(bool* pbContentChanged)
}
else if (pField->GetTypeId() == SwFieldTypesEnum::GetRef)
{
+ assert(dynamic_cast<const SwGetRefField*>(pField));
const SwGetRefField* pRefField(static_cast<const SwGetRefField*>(pField));
if (pRefField->IsRefToHeadingCrossRefBookmark() ||
pRefField->IsRefToNumItemCrossRefBookmark())