summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorVort <vvort@yandex.ru>2014-04-29 15:19:00 +0300
committerCaolán McNamara <caolanm@redhat.com>2014-04-30 09:47:06 +0000
commit6f945d6dc7480465ba9fce93351b1d3cc6b665e3 (patch)
treea5ea11bd33ae01bc3d32cc3307a77b483de0573a /sdext
parentc276830bd7d7e405b3a1cf54f2181784bf137883 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.cxx2
1 files changed, 1 insertions, 1 deletions
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" );