[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Thu Dec 4 04:45:33 PST 2014


 vcl/source/control/combobox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f0609851293512b9f8c3f6f06e54bf67679a508d
Author: Stephan Bergmann <sbergman at 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)


More information about the Libreoffice-commits mailing list