vcl/qt5/Qt5Frame.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9373d594055ff67abf6e391e0eeac2e572be5399
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Feb 12 09:07:17 2019 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Feb 12 09:07:17 2019 +0100

    loplugin:unnecessaryparen
    
    Change-Id: Ibd47c9b9dfcd33527739a7e7bbabb21f7af24ed7

diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 512c15a8545c..e3f532dee752 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -547,7 +547,7 @@ void Qt5Frame::SetWindowState(const SalFrameState* pState)
     {
         if (pState->mnState & WindowStateState::Maximized)
             SetWindowStateImpl(Qt::WindowMaximized);
-        else if ((pState->mnState & WindowStateState::Minimized))
+        else if (pState->mnState & WindowStateState::Minimized)
             SetWindowStateImpl(Qt::WindowMinimized);
         else
             SetWindowStateImpl(Qt::WindowNoState);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to