summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej@ahunt.org>2015-05-27 19:30:07 +0100
committerAndrzej Hunt <andrzej@ahunt.org>2015-05-27 19:30:20 +0100
commit176c27f1946ae889910dd154742f2416b481569d (patch)
tree9f9f720e1cd80bb4a354188d49c881622a316414
parentc52bc46136d24557ca142ee2d143be1ee7a0f4cf (diff)
loplugin:staticmethods
Change-Id: I8a6a6dcac8355796b984f6b37b791596fe9dca02
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index ebb09e75c8bc..b6ec8923d4eb 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.