[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.1' - vcl/source

Andras Timar andras.timar at collabora.com
Sun Jan 19 10:08:32 PST 2014


 vcl/source/filter/wmf/winmtf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4e4cc5834bddac62a26ebbf4fb3ea45dde5b79e0
Author: Andras Timar <andras.timar at collabora.com>
Date:   Sun Jan 19 19:13:57 2014 +0100

    fdo#73764 partially revert 3998d1abb291
    
    Change-Id: Ie9b6d6a318fad256f3f0999fe9c0810a4323f10d

diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx
index 6d44084..9c14fd8 100644
--- a/vcl/source/filter/wmf/winmtf.cxx
+++ b/vcl/source/filter/wmf/winmtf.cxx
@@ -351,7 +351,7 @@ Point WinMtfOutput::ImplScale( const Point& rPt) // Hack to set varying defaults
 {
         if (mbIsMapDevSet && mbIsMapWinSet)
         {
-            return Point((rPt.X())*mnWinExtX/mnDevWidth-mrclFrame.Left(),(rPt.Y())*mnWinExtY/mnDevHeight-mrclFrame.Top());
+            return rPt; //fdo#73764
         }
         else
         {


More information about the Libreoffice-commits mailing list