From 463c851ac898a81465632d090a1d2c8fcc3ca297 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 24 Mar 2022 09:05:07 +0200 Subject: loplugin:constantparam Change-Id: I6bfbd0cb5c2eac60bdac69fd862154fb2f537a89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132030 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/qt5/QtSvpSurface.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/qt5') diff --git a/vcl/qt5/QtSvpSurface.cxx b/vcl/qt5/QtSvpSurface.cxx index 456de177ce2c..a2a39c12b387 100644 --- a/vcl/qt5/QtSvpSurface.cxx +++ b/vcl/qt5/QtSvpSurface.cxx @@ -42,7 +42,7 @@ QtSvpSurface::QtSvpSurface(const CairoSurfaceSharedPtr& pSurface) QtSvpSurface::QtSvpSurface(const QtSvpGraphics* pGraphics, int x, int y, int width, int height) : m_pGraphics(pGraphics) - , m_pCairoContext(pGraphics->getCairoContext(false)) + , m_pCairoContext(pGraphics->getCairoContext()) { cairo_surface_t* surface = cairo_get_target(m_pCairoContext); m_pSurface.reset(cairo_surface_create_for_rectangle(surface, x, y, width, height), -- cgit