diff options
Diffstat (limited to 'svtools/source/filter/wmf/winmtf.cxx')
-rw-r--r-- | svtools/source/filter/wmf/winmtf.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svtools/source/filter/wmf/winmtf.cxx b/svtools/source/filter/wmf/winmtf.cxx index 2968ec1ae276..fe4a46139cd1 100644 --- a/svtools/source/filter/wmf/winmtf.cxx +++ b/svtools/source/filter/wmf/winmtf.cxx @@ -1112,7 +1112,13 @@ void WinMtfOutput::MoveTo( const Point& rPoint, sal_Bool bRecordPath ) { Point aDest( ImplMap( rPoint ) ); if ( bRecordPath ) + { + // fdo#57353 create new subpath for subsequent moves + if ( aPathObj.Count() ) + if ( aPathObj[ aPathObj.Count() - 1 ].GetSize() ) + aPathObj.Insert( Polygon(), POLYPOLY_APPEND ); aPathObj.AddPoint( aDest ); + } maActPos = aDest; } |