vcl/headless/svpgdi.cxx     |   25 -------------------------
 vcl/inc/headless/svpgdi.hxx |   11 -----------
 2 files changed, 36 deletions(-)

New commits:
commit 102a29d59a0a195ee42a52d5563adf99fa32a541
Author:     Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk>
AuthorDate: Sat Nov 27 21:46:42 2021 +0100
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Sat Jan 1 03:51:20 2022 +0100

    vcl: move the draw*Bezier methods to SvpGraphicsBackend
    
    These methods only return false (for fallback implementation to
    kick-in).
    
    Change-Id: I167dda09d401e69ca4a2296e8024ab0f203b097a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127739
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 51de3dc1d9b6..c4f0810c8b83 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -1202,31 +1202,6 @@ bool SvpSalGraphics::drawPolyLine(
     return true;
 }
 
-bool SvpSalGraphics::drawPolyLineBezier( sal_uInt32,
-                                         const Point*,
-                                         const PolyFlags* )
-{
-    SAL_INFO("vcl.gdi", "unsupported SvpSalGraphics::drawPolyLineBezier case");
-    return false;
-}
-
-bool SvpSalGraphics::drawPolygonBezier( sal_uInt32,
-                                        const Point*,
-                                        const PolyFlags* )
-{
-    SAL_INFO("vcl.gdi", "unsupported SvpSalGraphics::drawPolygonBezier case");
-    return false;
-}
-
-bool SvpSalGraphics::drawPolyPolygonBezier( sal_uInt32,
-                                            const sal_uInt32*,
-                                            const Point* const*,
-                                            const PolyFlags* const* )
-{
-    SAL_INFO("vcl.gdi", "unsupported SvpSalGraphics::drawPolyPolygonBezier 
case");
-    return false;
-}
-
 bool SvpSalGraphics::drawGradient(const tools::PolyPolygon& rPolyPolygon, 
const Gradient& rGradient)
 {
     if (rGradient.GetStyle() != GradientStyle::Linear
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx
index 0db4fb0a73ed..b9ece62a2267 100644
--- a/vcl/inc/headless/svpgdi.hxx
+++ b/vcl/inc/headless/svpgdi.hxx
@@ -150,17 +150,6 @@ public:
     virtual void            drawPolyLine( sal_uInt32 nPoints, const Point* 
pPtAry ) override;
     virtual void            drawPolygon( sal_uInt32 nPoints, const Point* 
pPtAry ) override;
 
-    virtual bool        drawPolyLineBezier( sal_uInt32 nPoints,
-                                                const Point* pPtAry,
-                                                const PolyFlags* pFlgAry ) 
override;
-    virtual bool        drawPolygonBezier( sal_uInt32 nPoints,
-                                               const Point* pPtAry,
-                                               const PolyFlags* pFlgAry ) 
override;
-    virtual bool        drawPolyPolygonBezier( sal_uInt32 nPoly,
-                                                   const sal_uInt32* pPoints,
-                                                   const Point* const* pPtAry,
-                                                   const PolyFlags* const* 
pFlgAry ) override;
-
     virtual bool drawGradient(tools::PolyPolygon const & rPolyPolygon, 
Gradient const & rGradient) override;
 
     virtual bool implDrawGradient(basegfx::B2DPolyPolygon const & 
rPolyPolygon, SalGradient const & rGradient) override;

Reply via email to