summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/DomainMapper.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-29 21:24:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-29 21:24:46 +0100
commitd00fc303bca7765762a602531b7d3b40ce8f1740 (patch)
tree0f2e676dd1462b00a220c166ad425dd0a81a5c80 /writerfilter/source/dmapper/DomainMapper.cxx
parent1ca11b55aecb18f9dcca1e9678910dc2e7593623 (diff)
fftester: another empty table manager stack
Change-Id: If3148cb6e16cff4aad28c4f86467c66ed04bcd05
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapper.cxx')
-rw-r--r--writerfilter/source/dmapper/DomainMapper.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index 2db5af3dc59e..f6e51162cf63 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -2920,7 +2920,8 @@ void DomainMapper::lcl_endShape( )
// empty paragraph at the end of the shape text will cause problems: if
// the shape text ends with a table, the extra paragraph will be
// handled as an additional row of the ending table.
- m_pImpl->getTableManager().endTable();
+ if (m_pImpl->hasTableManager())
+ m_pImpl->getTableManager().endTable();
lcl_endParagraphGroup();
m_pImpl->PopShapeContext( );