From b28c0afdae884dff3a2f06adce80e3520f6ebf68 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 14 May 2014 14:52:19 +0200 Subject: [PATCH] DomainMapper_Impl::AddDummyParaForTableInSection: shapes can't have sections Trying to add (and later remove) a dummy paragraph is just not needed at the moment, but it'll cause a real problem for textboxes. Change-Id: I9f90b515171ce4b498de49c2381b7324002e3c20 --- writerfilter/source/dmapper/DomainMapper_Impl.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 9cda8061bb5d..f3eb59577f6a 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -301,6 +301,9 @@ void DomainMapper_Impl::RemoveDummyParaForTableInSection() } void DomainMapper_Impl::AddDummyParaForTableInSection() { + // Shapes can't have sections. + if (IsInShape()) + return; if (!m_aTextAppendStack.empty()) {