[Libreoffice-commits] .: sot/qa
Michael Meeks
michael at kemper.freedesktop.org
Mon May 14 07:28:29 PDT 2012
sot/qa/cppunit/test_sot.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit affb63e6e3bf1c676e91afbee45649f86d64d506
Author: Michael Meeks <michael.meeks at 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());
More information about the Libreoffice-commits
mailing list