summaryrefslogtreecommitdiff
path: root/sot/qa
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-03 14:45:59 +0200
committerMichael Stahl <mstahl@redhat.com>2016-06-06 18:09:11 +0000
commit62d270116bf34778bf581f21b27fa9cdbff7de0e (patch)
tree0402df0506ab8f6825ef497f27426f01d2e01850 /sot/qa
parentd0bc637426060593046c8d3a4d01d0b05b052cc5 (diff)
tools: rename SvStream::Read/Write to ReadBytes/WriteBytes
Change-Id: Ib788a30d413436aa03f813aa2fddcbc4d6cd2f9a Reviewed-on: https://gerrit.libreoffice.org/25972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sot/qa')
-rw-r--r--sot/qa/cppunit/test_sot.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx
index 8157bdf570e3..587f62c3afc4 100644
--- a/sot/qa/cppunit/test_sot.cxx
+++ b/sot/qa/cppunit/test_sot.cxx
@@ -62,7 +62,7 @@ namespace
CPPUNIT_ASSERT_MESSAGE( "check size #2", xStream->remainingSize() == nSize );
// Read as much as we can, a corrupted FAT chain can cause real grief here
- nReadableSize = xStream->Read( static_cast<void *>(pData), nSize );
+ nReadableSize = xStream->ReadBytes(static_cast<void *>(pData), nSize);
// fprintf(stderr, "readable size %d vs size %d remaining %d\n", nReadableSize, nSize, nReadableSize);
}
{ // Read the data backwards as well
@@ -73,7 +73,7 @@ namespace
unsigned char c;
xStream->Seek( i - 1 );
CPPUNIT_ASSERT_MESSAGE( "sot storage reading byte",
- xStream->Read( &c, 1 ) == 1);
+ xStream->ReadBytes(&c, 1) == 1);
CPPUNIT_ASSERT_MESSAGE( "mismatching data storage reading byte",
pData[i - 1] == c );
}