• Noel Grandin's avatar
    [API CHANGE] add some more asserts to the string functions · 2f3684b2
    Noel Grandin yazdı
    rtl_[u]String_alloc now requires that the length be >= 0.
    Since this function is only @since Libreoffice 4.1, it is unlikely
    to be widely used externally.
    
    Removed some unit tests that were testing invalid or out of
    range paramers, which are already not allowed according to the
    documented contract of those functions.
    
    The change in writerfilter is because the new asserts triggered
    when running testFdo74745
    
    The change in SwTextNode::EraseText is because testFdo60842
    triggered the assert in replaceAt.
    
    The change in SwFieldSlot::SwFieldSlot is because
    testMoveRange::Import_Export_Import triggered the assert in
    replaceAt.
    
    The changes in SwFieldSlot::SwFieldSlot and TabControl::ImplGetItemSize
    are due to failures in the uitests.
    
    Change-Id: Ib317261067649b0de96df12873ce31360cd24681
    Reviewed-on: https://gerrit.libreoffice.org/58390Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
    Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
    2f3684b2
Adı
Son kayıt (commit)
Son güncelleme
..
documentation Loading commit data...
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
CppunitTest_writerfilter_misc.mk Loading commit data...
CppunitTest_writerfilter_rtftok.mk Loading commit data...
CustomTarget_source.mk Loading commit data...
IwyuFilter_writerfilter.yaml Loading commit data...
Library_writerfilter.mk Loading commit data...
Makefile Loading commit data...
Module_writerfilter.mk Loading commit data...
README Loading commit data...