summaryrefslogtreecommitdiff
path: root/sot/qa
diff options
context:
space:
mode:
Diffstat (limited to 'sot/qa')
-rw-r--r--sot/qa/cppunit/test_sot.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx
index 592a7a1cf0f5..ce8b7c8c8307 100644
--- a/sot/qa/cppunit/test_sot.cxx
+++ b/sot/qa/cppunit/test_sot.cxx
@@ -145,10 +145,14 @@ namespace
SvFileStream aStream(aURL, StreamMode::READ);
tools::SvRef<SotStorage> xObjStor = new SotStorage(aStream);
CPPUNIT_ASSERT_MESSAGE("sot storage failed to open",
- xObjStor.is() && !xObjStor->GetError());
+ xObjStor.is());
+ CPPUNIT_ASSERT_MESSAGE("sot storage failed to open",
+ !xObjStor->GetError());
tools::SvRef<SotStorageStream> xStream = xObjStor->OpenSotStream("Book");
CPPUNIT_ASSERT_MESSAGE("stream failed to open",
- xStream.is() && !xObjStor->GetError());
+ xStream.is());
+ CPPUNIT_ASSERT_MESSAGE("stream failed to open",
+ !xObjStor->GetError());
CPPUNIT_ASSERT_MESSAGE("error in opened stream", !xStream->GetError());
sal_uLong nPos = xStream->GetSize();
CPPUNIT_ASSERT_EQUAL_MESSAGE("odd stream length", static_cast<sal_uLong>(13312), nPos);