From 6f945d6dc7480465ba9fce93351b1d3cc6b665e3 Mon Sep 17 00:00:00 2001 From: Vort Date: Tue, 29 Apr 2014 15:19:00 +0300 Subject: fdo#78075 PDF Import: Use absolute positions in svg:d parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I55ddf92c43f849524be72bd10b3beb41e728f951 Reviewed-on: https://gerrit.libreoffice.org/9199 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sdext/source/pdfimport/tree/drawtreevisiting.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext/source') diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx index 237baff83623..acf9ff760fb6 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx @@ -349,7 +349,7 @@ void DrawXmlEmitter::visit( PolyPolyElement& elem, const std::list< Element* >:: aBuf.append( ' ' ); aBuf.append( convPx2mmPrec2(elem.h)*100.0 ); aProps[ "svg:viewBox" ] = aBuf.makeStringAndClear(); - aProps[ "svg:d" ] = basegfx::tools::exportToSvgD( elem.PolyPoly, true, true, false ); + aProps[ "svg:d" ] = basegfx::tools::exportToSvgD( elem.PolyPoly, false, true, false ); m_rEmitContext.rEmitter.beginTag( "draw:path", aProps ); m_rEmitContext.rEmitter.endTag( "draw:path" ); -- cgit