summaryrefslogtreecommitdiff
path: root/sot/qa
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-02-06 15:36:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-02-07 10:25:25 +0100
commite89964ebb3ba3bd7d694695c004c5f976d8d9616 (patch)
treef01c76532dfd520dc26d574aac83e1e421a1a6bf /sot/qa
parent469430a7d36fc1e860b4b68137261ec0833386c0 (diff)
ofz: Pos2Page returns true on same value that returned false previously
a failed position returns false, but stays at the failed position, so next time its called without moving it then it returns true store what we return for a given position for reuse if the position doesn't change Change-Id: I404c65ac89eb6f5c867f62a62028b87effdbcbf8 Reviewed-on: https://gerrit.libreoffice.org/49308 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sot/qa')
-rw-r--r--sot/qa/cppunit/data/pass/badchain-1.compoundbin0 -> 1041 bytes
-rw-r--r--sot/qa/cppunit/test_sot.cxx1
2 files changed, 0 insertions, 1 deletions
diff --git a/sot/qa/cppunit/data/pass/badchain-1.compound b/sot/qa/cppunit/data/pass/badchain-1.compound
new file mode 100644
index 000000000000..4c70faf207fd
--- /dev/null
+++ b/sot/qa/cppunit/data/pass/badchain-1.compound
Binary files differ
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx
index c4e961271801..0ffbe758a1ec 100644
--- a/sot/qa/cppunit/test_sot.cxx
+++ b/sot/qa/cppunit/test_sot.cxx
@@ -63,7 +63,6 @@ namespace
// Read as much as we can, a corrupted FAT chain can cause real grief here
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
tools::SvRef<SotStorageStream> xStream( xObjStor->OpenSotStream( rStreamName ) );