summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-02 12:27:37 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-02 12:27:37 +0300
commite9a66b4d469e4d1a644968d6053169aada211ffe (patch)
tree94fa5d967fdaed3be30de58d0a033589332148e5 /libreofficekit
parent072f5090e57ddbc2954efafa38b57056a5e52abb (diff)
WaE: this method can be declared static [loplugin:staticmethods]
Change-Id: I39d63811d154b849708f1254642fd0eb04a9848b
Diffstat (limited to 'libreofficekit')
-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 7ab7f099c8bf..79cc649fa369 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.