[Libreoffice-commits] core.git: shell/qa

Stephan Bergmann sbergman at redhat.com
Tue May 9 12:07:10 UTC 2017


 shell/qa/zip/ziptest.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8eefafa9ce7febe0a36e1bf5f4c77492a1b699fb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 9 14:06:33 2017 +0200

    loplugin:cppunitassertequals (clang-cl)
    
    Change-Id: Ie1dfd0791abe86ed2fd91155c129d6431392445d

diff --git a/shell/qa/zip/ziptest.cxx b/shell/qa/zip/ziptest.cxx
index a09e85b878cc..a6bb57ccb30b 100644
--- a/shell/qa/zip/ziptest.cxx
+++ b/shell/qa/zip/ziptest.cxx
@@ -85,7 +85,7 @@ Test::Test() : documentName(), pStream(nullptr)
     CloseHandle(hFile);
 
     HRESULT hr = CreateStreamOnHGlobal(hGlobal, TRUE, &pStream);
-    CPPUNIT_ASSERT_MESSAGE("FileStream: CreateStreamOnHGlobal failure.", hr == S_OK);
+    CPPUNIT_ASSERT_EQUAL_MESSAGE("FileStream: CreateStreamOnHGlobal failure.", S_OK, hr);
 }
 
 void Test::test_file_directory()


More information about the Libreoffice-commits mailing list