sot/qa/cppunit/test_sot.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit affb63e6e3bf1c676e91afbee45649f86d64d506 Author: Michael Meeks <michael.me...@suse.com> Date: Mon May 14 15:30:24 2012 +0100 sot: minor unit test logic cleanup diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx index 5fcbcd6..c4fec43 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()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits