Kaydet (Commit) 60679f47 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:nullptr

Change-Id: I7e266a0e29d86247d01df38da00899a8a1700719
üst 46b3d069
...@@ -192,11 +192,11 @@ void ScFiltersTest::testTdf91979() ...@@ -192,11 +192,11 @@ void ScFiltersTest::testTdf91979()
CPPUNIT_ASSERT_MESSAGE("Failed to access document shell", pFoundShell); CPPUNIT_ASSERT_MESSAGE("Failed to access document shell", pFoundShell);
ScDocShellRef xDocSh = dynamic_cast<ScDocShell*>(pFoundShell); ScDocShellRef xDocSh = dynamic_cast<ScDocShell*>(pFoundShell);
CPPUNIT_ASSERT(xDocSh != NULL); CPPUNIT_ASSERT(xDocSh != nullptr);
// Get the document controller // Get the document controller
ScTabViewShell* pViewShell = xDocSh->GetBestViewShell(false); ScTabViewShell* pViewShell = xDocSh->GetBestViewShell(false);
CPPUNIT_ASSERT(pViewShell != NULL); CPPUNIT_ASSERT(pViewShell != nullptr);
auto& aViewData = pViewShell->GetViewData(); auto& aViewData = pViewShell->GetViewData();
auto* pDoc = aViewData.GetDocument(); auto* pDoc = aViewData.GetDocument();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment