diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-22 15:33:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-22 21:58:51 +0100 |
commit | b6aa70dc67983eac812e6f4a67b2b4f08de79fbb (patch) | |
tree | e4dabaca4469224c521cf622be5d06803d06e2bf /sw/source | |
parent | 7b6f9b6db7eab2c95b010f542a237dce5350ee73 (diff) |
coverity#1441484 Logically dead code
Change-Id: I42a97ccb5cae95f57a03faf210af362a2874fcb1
Reviewed-on: https://gerrit.libreoffice.org/63809
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/chrdlg/swuiccoll.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 |