[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - libreofficekit/source

Tor Lillqvist tml at collabora.com
Wed Sep 2 02:30:32 PDT 2015


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

New commits:
commit e9a66b4d469e4d1a644968d6053169aada211ffe
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Sep 2 12:27:37 2015 +0300

    WaE: this method can be declared static [loplugin:staticmethods]
    
    Change-Id: I39d63811d154b849708f1254642fd0eb04a9848b

diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 7ab7f09..79cc649 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