[Libreoffice-commits] core.git: libreofficekit/qa

Noel Grandin noel at peralex.com
Fri Oct 30 12:24:57 UTC 2015


 libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bee72ee6199950f9489ac4ed313db63586f2b742
Author: Noel Grandin <noel at peralex.com>
Date:   Fri Oct 30 14:24:26 2015 +0200

    loplugin:staticmethods
    
    Change-Id: I4cdf2fa91dde1968cfb984faf0bdd3aad42eefd2

diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 8d6d172..2502b50 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -60,7 +60,7 @@ public:
     static gboolean docConfigureEvent(GtkWidget* pWidget, GdkEventConfigure* pEvent, gpointer pData);
     gboolean docConfigureEventImpl(GtkWidget* pWidget, GdkEventConfigure* pEvent);
     /// Draws rText at the center of rRectangle on pCairo.
-    void drawText(cairo_t* pCairo, const GdkRectangle& rRectangle, const std::string& rText);
+    static void drawText(cairo_t* pCairo, const GdkRectangle& rRectangle, const std::string& rText);
 };
 
 /// Represents all the state that is specific to one GtkWindow of this app.


More information about the Libreoffice-commits mailing list