summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-03-27 19:33:56 +0000
committerFridrich Strba <fridrich@documentfoundation.org>2013-04-25 12:50:43 +0000
commitf98d8baa449d922e4cc5bcee97c9ee1733b0f65d (patch)
treebf68b1e58ebdb8d1f21d1d85df75292241d21d09
parentb2d1cd9873995b93577273ad8b3fb7fd4230ced9 (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>
-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() )