vcl/headless/svpgdi.cxx | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-)
New commits: commit 43befdeda4a66a71bd3c204a79f06cb96c7b0145 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Thu Dec 30 00:32:24 2021 +0900 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Wed Jan 5 05:01:57 2022 +0100 vcl: cleanup SvpSalGraphics includes Change-Id: I16619e55acfff7510803aff7ebf27c8d892a0d75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127983 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 23f68c80fe3c..881d42be256c 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -23,33 +23,8 @@ #include <numeric> #include <headless/svpgdi.hxx> -#include <headless/svpbmp.hxx> -#include <headless/svpframe.hxx> -#include <headless/svpcairotextrender.hxx> -#include <headless/BitmapHelper.hxx> -#include <saldatabasic.hxx> - -#include <sal/log.hxx> -#include <tools/helpers.hxx> -#include <o3tl/safeint.hxx> -#include <vcl/BitmapTools.hxx> -#include <vcl/sysdata.hxx> -#include <vcl/gradient.hxx> -#include <config_cairo_canvas.h> -#include <basegfx/numeric/ftools.hxx> -#include <basegfx/range/b2drange.hxx> -#include <basegfx/range/b2ibox.hxx> -#include <basegfx/range/b2irange.hxx> -#include <basegfx/polygon/b2dpolypolygon.hxx> -#include <basegfx/polygon/b2dpolypolygontools.hxx> -#include <basegfx/polygon/b2dpolygon.hxx> -#include <basegfx/polygon/b2dpolygontools.hxx> -#include <basegfx/matrix/b2dhommatrix.hxx> -#include <basegfx/utils/canvastools.hxx> -#include <basegfx/matrix/b2dhommatrixtools.hxx> #include <comphelper/lok.hxx> -#include <unx/gendata.hxx> -#include <dlfcn.h> + #if ENABLE_CAIRO_CANVAS # if defined CAIRO_VERSION && CAIRO_VERSION < CAIRO_VERSION_ENCODE(1, 10, 0) @@ -75,7 +50,7 @@ void SvpSalGraphics::setSurface(cairo_surface_t* pSurface, const basegfx::B2IVec m_aCairoCommon.m_pSurface = pSurface; m_aCairoCommon.m_aFrameSize = rSize; dl_cairo_surface_get_device_scale(pSurface, &m_aCairoCommon.m_fScale, nullptr); - ResetClipRegion(); + GetImpl()->ResetClipRegion(); } void SvpSalGraphics::GetResolution( sal_Int32& rDPIX, sal_Int32& rDPIY )