summaryrefslogtreecommitdiff
path: root/vcl/qt5
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-24 09:05:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-24 19:54:04 +0100
commit463c851ac898a81465632d090a1d2c8fcc3ca297 (patch)
tree49df1db8cb5ac95d02956cd482d6be45e3b0c170 /vcl/qt5
parentc8e5c2e65aec50ff338ec1967e3865438093fbc8 (diff)
loplugin:constantparam
Change-Id: I6bfbd0cb5c2eac60bdac69fd862154fb2f537a89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132030 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qt5')
-rw-r--r--vcl/qt5/QtSvpSurface.cxx2
1 files changed, 1 insertions, 1 deletions
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),