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-23 12:04:12 +0100 |
commit | c0acd3532e8604dfe19bc117fcf6cce3413a7606 (patch) | |
tree | 67bc2b09f561bf47ffc2a5d988c72549c2561f82 /sw | |
parent | d4190685ac208677bc77f66976287dda0360c42d (diff) |
coverity#1441484 Logically dead code
Change-Id: I42a97ccb5cae95f57a03faf210af362a2874fcb1
Reviewed-on: https://gerrit.libreoffice.org/63812
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-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 |