office-gobmx/tools/qa/cppunit
Caolán McNamara 66c3655a07 convert ReadCString from ByteString to OString
Nobody ever checked the return value anyway, so just return the string
and use the stream state bits if necessary to find failures.

Doesn't need to be a member, make a standalone function

Rename it to read_zeroTerminated_uInt8s_AsO[U]String, stupid perhaps,
but *shrug*, unambiguous.

Drop misleading overloaded String variants use:
read_zeroTerminated_uInt8s_AsOString or
read_zeroTerminated_uInt8s_AsOUString

added a unit test, valgrinded it, found and fixed invalid read
in original implementation.
2011-12-15 12:22:49 +00:00
..
test_pathutils.cxx
test_reversemap.cxx
test_stream.cxx convert ReadCString from ByteString to OString 2011-12-15 12:22:49 +00:00
tools_cppunittester_all.cxx