MCPcopy Create free account
hub / github.com/LibreOffice/core / readString

Method readString

scripting/source/stringresource/stringresource.cxx:1352–1366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1350}
1351
1352OUString BinaryInput::readString()
1353{
1354 OUStringBuffer aBuf;
1355 sal_Unicode c;
1356 do
1357 {
1358 c = readUnicodeChar();
1359 if( c != 0 )
1360 aBuf.append( c );
1361 }
1362 while( c != 0 );
1363
1364 OUString aRetStr = aBuf.makeStringAndClear();
1365 return aRetStr;
1366}
1367
1368void StringResourcePersistenceImpl::importBinary( const Sequence< ::sal_Int8 >& Data )
1369{

Callers 1

importBinaryMethod · 0.45

Calls 2

makeStringAndClearMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected