[Libreoffice-commits] core.git: vcl/inc vcl/unx
Stephan Bergmann
sbergman at redhat.com
Tue Feb 2 15:43:02 UTC 2016
vcl/inc/unx/salgdi.h | 2 +-
vcl/unx/generic/gdi/x11cairotextrender.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 773da02e8d2fc369c42eb2a799b41bf586acb4f5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Feb 2 16:42:26 2016 +0100
loplugin:staticmethods
Change-Id: Iad54f114c6443950af4341e1d40dd7dcca9fb8d7
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h
index 697a7ca..e8232f2 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 a3973c8..cf8bc99 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: */
More information about the Libreoffice-commits
mailing list