From f9e0f09696d5cfe3e5929683ad9501049b3985e2 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 7 Jul 2011 11:36:46 +0200 Subject: [PATCH] dmapper: no last paragraph on shapes Just like with headers, shapes don't have a last empty paragraph, either. --- writerfilter/source/dmapper/DomainMapper_Impl.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 3b698970ed98..7c077f2648b4 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -1388,6 +1388,7 @@ void DomainMapper_Impl::PopShapeContext() { if ( m_bShapeContextAdded ) { + RemoveLastParagraph(); m_aTextAppendStack.pop(); m_bShapeContextAdded = false; }