summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/headless/svpgdi.cxx7
-rw-r--r--vcl/quartz/salgdicommon.cxx7
2 files changed, 0 insertions, 14 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 24220b77408b..fb7a0695af2d 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 8a94e19968d7..cf999090d25a 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() )
{