[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 23 11:04:44 UTC 2018
sw/source/ui/chrdlg/swuiccoll.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit c0acd3532e8604dfe19bc117fcf6cce3413a7606
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Nov 22 15:33:19 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Nov 23 12:04:12 2018 +0100
coverity#1441484 Logically dead code
Change-Id: I42a97ccb5cae95f57a03faf210af362a2874fcb1
Reviewed-on: https://gerrit.libreoffice.org/63812
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/ui/chrdlg/swuiccoll.cxx b/sw/source/ui/chrdlg/swuiccoll.cxx
index 16fa6e1761db..b79c721ba593 100644
--- a/sw/source/ui/chrdlg/swuiccoll.cxx
+++ b/sw/source/ui/chrdlg/swuiccoll.cxx
@@ -243,8 +243,7 @@ void SwCondCollPage::SelectHdl(const weld::Widget* pBox)
}
pBase = pPool->Next();
}
- if (!bEmpty)
- m_xStyleLB->select(bEmpty ? -1 : 0);
+ m_xStyleLB->select(bEmpty ? -1 : 0);
SelectHdl(m_xStyleLB.get());
}
else
More information about the Libreoffice-commits
mailing list