summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-08-22 16:46:35 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2011-08-22 18:23:33 +0200
commitb50403171cfea3d9eff7c4b7505cf0212291d967 (patch)
tree5c7a32a558b8d858ab38ae6cc7dc0e004c80be84 /writerfilter
parent81a8b277ada5d0b7e7f949771f1dbc0e3134867a (diff)
Make sure runs are closed before we end a frame
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 1bd9d54d86b2..9aa9a26f46b8 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -753,6 +753,7 @@ void RTFDocumentImpl::checkChangedFrame()
else if (!inFrame() && m_bWasInFrame)
{
OSL_TRACE("%s ending frame", OSL_THIS_FUNC);
+ finishSubstream();
Mapper().endParagraphGroup();
Mapper().endShape();
Mapper().endParagraphGroup();