summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-02 12:27:37 +0300
committerAndras Timar <andras.timar@collabora.com>2015-09-19 21:31:44 +0200
commitf092bdf36c284c35f6cd56e4e2908bc3a29caaa1 (patch)
tree9fe87bfa5ee300cfcaf629df2a000a65632517c5 /libreofficekit
parent3538c727ed9d9e264ec2c09ad5e50ac0b8462ef4 (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.