diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-02 16:42:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-02 16:42:26 +0100 |
commit | 773da02e8d2fc369c42eb2a799b41bf586acb4f5 (patch) | |
tree | 4c8181e55410b0697e7210de45986dabab83f291 /vcl | |
parent | 4f68c279e4d81cd44ab14bcaf6da7d596a741971 (diff) |
loplugin:staticmethods
Change-Id: Iad54f114c6443950af4341e1d40dd7dcca9fb8d7
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/unx/salgdi.h | 2 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/x11cairotextrender.cxx | 2 |
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: */ |