[Libreoffice-commits] core.git: vcl/qt5
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Feb 12 08:07:46 UTC 2019
vcl/qt5/Qt5Frame.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9373d594055ff67abf6e391e0eeac2e572be5399
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Feb 12 09:07:17 2019 +0100
Commit: Stephan Bergmann <sbergman at 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);
More information about the Libreoffice-commits
mailing list