Kaydet (Commit) f3cebf36 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

unnecessary cast

Change-Id: I606960e54719700d0bc3b5c2dee6f2c1f2ee0b1b
üst f367924f
......@@ -415,7 +415,7 @@ void SwRootFrm::DeRegisterShell( SwViewShell *pSh )
{
// Activate some shell if possible
if ( pCurrShell == pSh )
pCurrShell = pSh->GetNext() != pSh ? static_cast<SwViewShell*>(pSh->GetNext()) : 0;
pCurrShell = pSh->GetNext() != pSh ? pSh->GetNext() : nullptr;
// Doesn't matter anymore
if ( pWaitingCurrShell == pSh )
......
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