diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-12-30 00:32:24 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-01-05 05:01:57 +0100 |
commit | 43befdeda4a66a71bd3c204a79f06cb96c7b0145 (patch) | |
tree | edc0441c5ade89d38be7664ff16ef808f8dd6d9a /vcl/headless | |
parent | c138cfa104ec0cd7f6e97885553b08f98d9f5848 (diff) |
vcl: cleanup SvpSalGraphics includes
Change-Id: I16619e55acfff7510803aff7ebf27c8d892a0d75
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127983
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 29 |
1 files changed, 2 insertions, 27 deletions
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 ) |