summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-03-27 19:33:56 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-04-25 13:54:20 +0100
commit90469529681c3217dab900c8983f717fb557fc5e (patch)
treeeb836e2ba2bd6fdde5d6891cc45cf6fc3532b8a4 /filter
parentd90e03478ab6cbdf2073dd6a646dfacfc76b3c14 (diff)
fdo#62834 - svg export: close stray trailing tspans if we have them.
Change-Id: Ifc539e3229edd14b7291ee66bf3523cbdbedf2ef Reviewed-on: https://gerrit.libreoffice.org/3607 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgwriter.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index ae2372c92911..b8fc596eac09 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -3904,6 +3904,7 @@ void SVGActionWriter::WriteMetaFile( const Point& rPos100thmm,
mapCurShape.reset();
ImplWriteActions( rMtf, nWriteFlags, pElementId, pXShape, pTextEmbeddedBitmapMtf );
+ maTextWriter.endTextParagraph();
// draw open shape that doesn't have a border
if( mapCurShape.get() )