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

Stephan Bergmann sbergman at redhat.com
Tue Nov 10 05:08:53 PST 2015


 sc/qa/unit/bugfix-test.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 60679f4740602cbd487ec36ad8be59429acc47b3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 10 14:08:26 2015 +0100

    loplugin:nullptr
    
    Change-Id: I7e266a0e29d86247d01df38da00899a8a1700719

diff --git a/sc/qa/unit/bugfix-test.cxx b/sc/qa/unit/bugfix-test.cxx
index 2b5d2ef..8518e20 100644
--- a/sc/qa/unit/bugfix-test.cxx
+++ b/sc/qa/unit/bugfix-test.cxx
@@ -192,11 +192,11 @@ void ScFiltersTest::testTdf91979()
     CPPUNIT_ASSERT_MESSAGE("Failed to access document shell", pFoundShell);
 
     ScDocShellRef xDocSh = dynamic_cast<ScDocShell*>(pFoundShell);
-    CPPUNIT_ASSERT(xDocSh != NULL);
+    CPPUNIT_ASSERT(xDocSh != nullptr);
 
     // Get the document controller
     ScTabViewShell* pViewShell = xDocSh->GetBestViewShell(false);
-    CPPUNIT_ASSERT(pViewShell != NULL);
+    CPPUNIT_ASSERT(pViewShell != nullptr);
     auto& aViewData = pViewShell->GetViewData();
     auto* pDoc = aViewData.GetDocument();
 


More information about the Libreoffice-commits mailing list