summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/salgdi.h2
-rw-r--r--vcl/unx/generic/gdi/x11cairotextrender.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h
index 697a7cace3af..e8232f2598fd 100644
--- a/vcl/inc/unx/salgdi.h
+++ b/vcl/inc/unx/salgdi.h
@@ -284,7 +284,7 @@ public:
void YieldGraphicsExpose();
cairo_t* getCairoContext();
- void releaseCairoContext(cairo_t* cr);
+ static void releaseCairoContext(cairo_t* cr);
// do XCopyArea or XGet/PutImage depending on screen numbers
diff --git a/vcl/unx/generic/gdi/x11cairotextrender.cxx b/vcl/unx/generic/gdi/x11cairotextrender.cxx
index a3973c8cd7b1..cf8bc9986fa6 100644
--- a/vcl/unx/generic/gdi/x11cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/x11cairotextrender.cxx
@@ -121,7 +121,7 @@ size_t X11CairoTextRender::GetHeight() const
void X11CairoTextRender::releaseCairoContext(cairo_t* cr)
{
- mrParent.releaseCairoContext(cr);
+ X11SalGraphics::releaseCairoContext(cr);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */