[Libreoffice-commits] core.git: vcl/headless vcl/quartz

Caolán McNamara caolanm at redhat.com
Tue Feb 2 15:19:22 UTC 2016


 vcl/headless/svpgdi.cxx     |    7 -------
 vcl/quartz/salgdicommon.cxx |    7 -------
 2 files changed, 14 deletions(-)

New commits:
commit 4cbd8e7bf3e69cfda3d84e86f1adedac636a055e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Feb 1 18:19:32 2016 +0000

    windows impl doesn't care if drawPolyLine LineWidth y != x
    
    so I don't see that it makes much of a difference then
    if the quartz or cairo one's don't either
    
    Change-Id: Iabd65d617437aa747b910fcd2e84421413ed7db6

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 24220b7..fb7a0695 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -690,13 +690,6 @@ bool SvpSalGraphics::drawPolyLine(
         return true;
     }
 
-    // reject requests that cannot be handled yet
-    if (rLineWidths.getX() != rLineWidths.getY())
-    {
-        SAL_WARN("vcl.gdi", "unsupported SvpSalGraphics::drawPolyLine case");
-        return false;
-    }
-
     // #i104886# linejoin-mode and thus the above only applies to "fat" lines
     bool bNoJoin = (basegfx::B2DLineJoin::NONE == eLineJoin && rLineWidths.getX() > 1.3);
 
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 8a94e19..cf99909 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -973,13 +973,6 @@ bool AquaSalGraphics::drawPolyLine( const basegfx::B2DPolygon& rPolyLine,
         return true;
     }
 
-    // reject requests that cannot be handled yet
-    if( rLineWidths.getX() != rLineWidths.getY() )
-    {
-        DBG_DRAW_OPERATION_EXIT_EARLY("drawPolyLine");
-        return false;
-    }
-
 #ifdef IOS
     if( !CheckContext() )
     {


More information about the Libreoffice-commits mailing list