writerfilter07: DomainMapper::endTableGetRowProperties: Invalidate PropertyMap for row to the actual values, DomainMapperTableManager::endLevel: reset table width

This commit is contained in:
Henning Brinkmann 2010-02-10 14:22:22 +01:00
parent 55794d87ee
commit 0affe5f707
2 changed files with 3 additions and 1 deletions

View file

@ -721,7 +721,8 @@ RowPropertyValuesSeq_t DomainMapperTableHandler::endTableGetRowProperties()
if( aRowIter->get()->find( PropertyDefinition( PROP_IS_SPLIT_ALLOWED, false )) == aRowIter->get()->end())
aRowIter->get()->Insert( PROP_IS_SPLIT_ALLOWED, false, uno::makeAny(sal_True ) );
aRowProperties[nRow] = aRowIter->get()->GetPropertyValues();
(*aRowIter)->Invalidate();
aRowProperties[nRow] = (*aRowIter)->GetPropertyValues();
#ifdef DEBUG_DOMAINMAPPER
dmapper_logger->addTag((*aRowIter)->toTag());
dmapper_logger->addTag(lcl_PropertyValuesToTag(aRowProperties[nRow]));

View file

@ -322,6 +322,7 @@ void DomainMapperTableManager::endLevel( )
{
m_aTableGrid.pop_back( );
m_aGridSpans.pop_back( );
m_nTableWidth = 0;
DomainMapperTableManager_Base_t::endLevel( );
#ifdef DEBUG_DOMAINMAPPER