vcl/source/control/combobox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f0609851293512b9f8c3f6f06e54bf67679a508d Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Dec 4 13:45:00 2014 +0100 loplugin:implicitboolconversion Change-Id: I1a2ce5fe9034c67de9553fe8953e7de0fcc6b471 diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index fca1716..462c61f 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -866,7 +866,7 @@ sal_Int32 ComboBox::InsertEntry(const OUString& rStr, sal_Int32 const nPos) sal_Int32 ComboBox::InsertEntryWithImage( const OUString& rStr, const Image& rImage, sal_Int32 const nPos) { - assert(nPos >= 0 & COMBOBOX_MAX_ENTRIES > mpImplLB->GetEntryList()->GetEntryCount()); + assert(nPos >= 0 && COMBOBOX_MAX_ENTRIES > mpImplLB->GetEntryList()->GetEntryCount()); sal_Int32 nRealPos; if (nPos == COMBOBOX_APPEND) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits