[Libreoffice-commits] core.git: sdext/source

Vort vvort at yandex.ru
Wed Apr 30 02:47:35 PDT 2014


 sdext/source/pdfimport/tree/drawtreevisiting.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6f945d6dc7480465ba9fce93351b1d3cc6b665e3
Author: Vort <vvort at yandex.ru>
Date:   Tue Apr 29 15:19:00 2014 +0300

    fdo#78075 PDF Import: Use absolute positions in svg:d parameter
    
    Change-Id: I55ddf92c43f849524be72bd10b3beb41e728f951
    Reviewed-on: https://gerrit.libreoffice.org/9199
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index 237baff..acf9ff7 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" );


More information about the Libreoffice-commits mailing list