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

Andrzej Hunt andrzej at ahunt.org
Wed May 27 11:31:00 PDT 2015


 libreofficekit/source/gtk/lokdocview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 176c27f1946ae889910dd154742f2416b481569d
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Wed May 27 19:30:07 2015 +0100

    loplugin:staticmethods
    
    Change-Id: I8a6a6dcac8355796b984f6b37b791596fe9dca02

diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index ebb09e7..b6ec892 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -171,7 +171,7 @@ struct LOKDocView_Impl
      */
     void renderDocument(GdkRectangle* pPartial);
     /// Sets rWidth and rHeight from a "width, height" string.
-    void payloadToSize(const char* pPayload, long& rWidth, long& rHeight);
+    static void payloadToSize(const char* pPayload, long& rWidth, long& rHeight);
     /// Returns the GdkRectangle of a width,height,x,y string.
     static GdkRectangle payloadToRectangle(const char* pPayload);
     /// Returns the GdkRectangles of a w,h,x,y;w2,h2,x2,y2;... string.


More information about the Libreoffice-commits mailing list