https://bugs.documentfoundation.org/show_bug.cgi?id=141982

--- Comment #11 from Xisco FaulĂ­ <[email protected]> ---
(In reply to Bartosz from comment #9)
> @Xisco Are you sure the regression was introduced by this commit?
> 
> Could you please attach screenshots of EMF files imported by LibreOffice 4.1?

In fact, this change

--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -639,8 +639,8 @@ namespace emfio
             double fWidth, fHeight;
             if (bDoWorldTransform)
             {
-                fWidth = rSz.Width() * maXForm.eM11 + rSz.Height() *
maXForm.eM21;
-                fHeight = rSz.Width() * maXForm.eM12 + rSz.Height() *
maXForm.eM22;
+                fWidth = rSz.Width() * maXForm.eM11;
+                fHeight = rSz.Width() * maXForm.eM12;
             }


makes it to be displayed as a square again

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to