sw/source/ui/chrdlg/swuiccoll.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit b6aa70dc67983eac812e6f4a67b2b4f08de79fbb Author: Caolán McNamara <[email protected]> AuthorDate: Thu Nov 22 15:33:19 2018 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Thu Nov 22 21:58:51 2018 +0100 coverity#1441484 Logically dead code Change-Id: I42a97ccb5cae95f57a03faf210af362a2874fcb1 Reviewed-on: https://gerrit.libreoffice.org/63809 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> 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 _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
