[Libreoffice-commits] core.git: vcl/qt5

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Sat Dec 7 10:08:07 UTC 2019


 vcl/qt5/Qt5Frame.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit cc8fe0de36edb1c3a6d8dc940b6d61d3f986adc5
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Dec 6 22:52:55 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sat Dec 7 11:07:24 2019 +0100

    Avoid loplugin:staticmethods
    
    Change-Id: I93ebdcae5c39566660edbe1d5e76cc548f5b7c49
    Reviewed-on: https://gerrit.libreoffice.org/84670
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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
 }
 


More information about the Libreoffice-commits mailing list