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

Tor Lillqvist tml at collabora.com
Mon Jul 25 06:00:12 UTC 2016


 sd/qa/unit/export-tests.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit facf48d58f7438031a3a5fabd0f59134f6d43851
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Jul 25 08:40:32 2016 +0300

    loplugin:nullptr
    
    Change-Id: If8f933706b0acb86dcdebb85ec647abfd61fa949

diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 8d195f2..4598014 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -219,7 +219,7 @@ void SdExportTest::testMediaEmbedding()
 #else
     // If glTF is not supported, then the fallback image is imported
     SdrGrafObj *pGrafic = dynamic_cast<SdrGrafObj*>( pPage->GetObj( 2 ));
-    CPPUNIT_ASSERT_MESSAGE( "Could not load glTF fallback image", pGrafic != NULL);
+    CPPUNIT_ASSERT_MESSAGE( "Could not load glTF fallback image", pGrafic != nullptr);
     CPPUNIT_ASSERT_EQUAL( OUString( "vnd.sun.star.Package:Models/Fallbacks/duck.png" ), pGrafic->GetGrafStreamURL());
 #endif
 


More information about the Libreoffice-commits mailing list