• Noel Grandin's avatar
    new loplugin: pointerbool · 91b4e453
    Noel Grandin yazdı
    look for possibly bogus implicit conversions to bool when passing
    (normally pointer) args to bool params.
    
    this plugin comes in the wake of a couple of bugs caused by refactoring,
    where some of the call sites were not currently updated.
    
    Of the changes, the following are real bugs:
    
    desktop/../dp_persmap.cxx
    
    StartInputFieldDlg
        in sw/../fldmgr.cxx
    which occurred as a result of
        commit 39d719a8
        Date:   Tue May 3 11:39:37 2016 +0200
        tdf#99529 sw: don't pop up input field dialog before inserting field
    
    CSerializationURLEncoded::encode_and_append in
        forms/../serialization_urlencoded.cxx
    
    XclExpCFImpl::XclExpCFImpl
        in sc/../xecontent.cxx
    I have no idea how to properly fix this, just made a guess.
    
    SwDocTest::test64kPageDescs
        in sw/qa/core/uwriter.cxx
    which looks like a simple copy/paste error.
    
    Change-Id: I795ebd5ef485a1d36863dc27fe13832989f5a441
    Reviewed-on: https://gerrit.libreoffice.org/48291Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
    Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
    91b4e453
Adı
Son kayıt (commit)
Son güncelleme
..
inc/pch Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
CppunitTest_comphelper_ifcontainer.mk Loading commit data...
CppunitTest_comphelper_syntaxhighlight_test.mk Loading commit data...
CppunitTest_comphelper_test.mk Loading commit data...
CppunitTest_comphelper_threadpool_test.mk Loading commit data...
CppunitTest_comphelper_variadictemplates_test.mk Loading commit data...
JunitTest_comphelper_complex.mk Loading commit data...
Library_comphelper.mk Loading commit data...
Makefile Loading commit data...
Module_comphelper.mk Loading commit data...
README Loading commit data...
StaticLibrary_windows_process.mk Loading commit data...