• Caolán McNamara's avatar
    bigendian utext mixup triggering regression test failure · 49f2a69f
    Caolán McNamara yazdı
    text takes a pointer to a sal_uInt8 buffer but
    utext takes a pointer to a sal_Unicode buffer
    
    passing a sal_uInt8 sequence of e.g. "\x0D\x00" to utext only happens
    to work on little endian machines to represent 0x000D, its 0x0D00 on
    bigendian.
    
    for more excitement text and utext do not share the same logic!
    Various special chars are treated different in text vs utext so
    we can't simply blindly change utext() calls to text() calls and
    get the same behaviour without reworking those.
    
    So keep the text()/utext() calls as they are, but change what's
    passed to be the right thing.
    
    Change-Id: I66696530c4a9482690c461146bdcf0a507b39b68
    49f2a69f
Adı
Son kayıt (commit)
Son güncelleme
..
documentation Loading commit data...
inc Loading commit data...
prj Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
CppunitTest_writerfilter_doctok.mk Loading commit data...
CppunitTest_writerfilter_rtftok.mk Loading commit data...
CustomTarget_source.mk Loading commit data...
JunitTest_writerfilter_complex.mk Loading commit data...
Library_writerfilter.mk Loading commit data...
Makefile Loading commit data...
Module_writerfilter.mk Loading commit data...
Package_sprmids.mk Loading commit data...
README Loading commit data...