diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-05-14 15:30:24 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-05-14 15:30:24 +0100 |
commit | affb63e6e3bf1c676e91afbee45649f86d64d506 (patch) | |
tree | 7ec909e578f8b2eb4d54e0d435290a74a05319f1 /sot | |
parent | ac90be0eddb4f1724c4aef3e3eade82bda8737ee (diff) |
sot: minor unit test logic cleanup
Diffstat (limited to 'sot')
-rw-r--r-- | sot/qa/cppunit/test_sot.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx index 5fcbcd672bc5..c4fec43bd001 100644 --- a/sot/qa/cppunit/test_sot.cxx +++ b/sot/qa/cppunit/test_sot.cxx @@ -127,7 +127,7 @@ namespace { SvFileStream aStream(rURL, STREAM_READ); SotStorageRef xObjStor = new SotStorage(aStream); - if (!xObjStor.Is() && !xObjStor->GetError()) + if (!xObjStor.Is() || xObjStor->GetError()) return false; CPPUNIT_ASSERT_MESSAGE("sot storage is not valid", xObjStor->Validate()); |