summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-12-06 22:52:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-07 11:07:24 +0100
commitcc8fe0de36edb1c3a6d8dc940b6d61d3f986adc5 (patch)
treeb50e688ae55096b5b5cc640869c35c3d700c3486 /vcl
parentd139529dff85282772d334edcebdccf23d2d9c97 (diff)
Avoid loplugin:staticmethods
Change-Id: I93ebdcae5c39566660edbe1d5e76cc548f5b7c49 Reviewed-on: https://gerrit.libreoffice.org/84670 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/Qt5Frame.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 8726b11bcf6d..c5cc9dfaa0d1 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -268,6 +268,8 @@ void Qt5Frame::fixICCCMwindowGroup()
hints.flags |= XCB_ICCCM_WM_HINT_WINDOW_GROUP;
hints.window_group = leader;
xcb_icccm_set_wm_hints(conn, win, &hints);
+#else
+ (void)this; // avoid loplugin:staticmethods
#endif
}