summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-12 09:07:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-12 09:07:17 +0100
commit9373d594055ff67abf6e391e0eeac2e572be5399 (patch)
tree6806f63ec23a74df1e44b4978a703fabb75dcf60 /vcl
parent29a3d327900eb672b7630eb0b5ddea01a6a0c1a3 (diff)
loplugin:unnecessaryparen
Change-Id: Ibd47c9b9dfcd33527739a7e7bbabb21f7af24ed7
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/Qt5Frame.cxx2
1 files changed, 1 insertions, 1 deletions
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);