diff options
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 361b576966fe..70cd838d59b5 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -3187,6 +3187,7 @@ void DomainMapper::lcl_text(const sal_uInt8 * data_, size_t len) if (pContext && pContext->GetFootnote().is() && m_pImpl->IsInCustomFootnote()) { pContext->GetFootnote()->setLabel(sText); + m_pImpl->EndCustomFootnote(); //otherwise ignore sText } else if (m_pImpl->IsOpenFieldCommand() && !m_pImpl->IsForceGenericFields()) @@ -3501,7 +3502,7 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t len) m_pImpl->clearDeferredBreaks(); } - if (pContext && pContext->GetFootnote().is() && m_pImpl->IsInCustomFootnote()) + if (pContext && pContext->GetFootnote().is()) { pContext->GetFootnote()->setLabel( sText ); //otherwise ignore sText |