do not pass on text that is to be ignored

This commit is contained in:
Henning Brinkmann 2006-10-30 08:38:54 +00:00
parent 75b532bdd8
commit b7ac8036a8

View file

@ -567,7 +567,7 @@ ListTablePtr DomainMapper_Impl::GetListTable()
void DomainMapper_Impl::finishParagraph( PropertyMapPtr pPropertyMap )
{
uno::Reference< text::XTextAppendAndConvert > xTextAppendAndConvert = m_aTextAppendStack.top();
if(xTextAppendAndConvert.is())
if(xTextAppendAndConvert.is() && ! m_TableManager.isIgnore())
{
try
{
@ -591,7 +591,7 @@ void DomainMapper_Impl::finishParagraph( PropertyMapPtr pPropertyMap )
void DomainMapper_Impl::appendTextPortion( const ::rtl::OUString& rString, PropertyMapPtr pPropertyMap )
{
uno::Reference< text::XTextAppendAndConvert > xTextAppendAndConvert = m_aTextAppendStack.top();
if(xTextAppendAndConvert.is())
if(xTextAppendAndConvert.is() && ! m_TableManager.isIgnore())
{
try
{