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

Andrzej Hunt andrzej.hunt at collabora.com
Mon Jul 28 07:38:04 PDT 2014


 libreofficekit/qa/unit/tiledrendering.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0f21977d1d17170913d49987f070b9581395d7dd
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date:   Mon Jul 28 16:22:47 2014 +0200

    Use CPPUNIT_ASSERT instead of assert.
    
    Change-Id: I24e7934002ebdde208db74ae3308b26875a3155b

diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index b231eb0..9c035b4 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -77,7 +77,7 @@ void TiledRenderingTest::testOverlay()
 
     scoped_ptr< Office > pOffice( lok_cpp_init(
                                       sLOPath.c_str() ) );
-    assert( pOffice.get() );
+    CPPUNIT_ASSERT( pOffice.get() );
 
     scoped_ptr< Document> pDocument( pOffice->documentLoad(
                                          sDocPath.c_str() ) );


More information about the Libreoffice-commits mailing list