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

unnecessary cast

Change-Id: I8096a0dfe0478671183c66fd9d1d516ec4ed3537
üst 005b96a4
...@@ -224,7 +224,7 @@ void SwViewShell::ImplEndAction( const bool bIdleEnd ) ...@@ -224,7 +224,7 @@ void SwViewShell::ImplEndAction( const bool bIdleEnd )
//will this put the EndAction of the last shell in the sequence? //will this put the EndAction of the last shell in the sequence?
SwViewShell::mbLstAct = true; SwViewShell::mbLstAct = true;
SwViewShell *pSh = static_cast<SwViewShell*>(this->GetNext()); SwViewShell *pSh = this->GetNext();
while ( pSh != this ) while ( pSh != this )
{ {
if ( pSh->ActionPend() ) if ( pSh->ActionPend() )
...@@ -233,7 +233,7 @@ void SwViewShell::ImplEndAction( const bool bIdleEnd ) ...@@ -233,7 +233,7 @@ void SwViewShell::ImplEndAction( const bool bIdleEnd )
pSh = this; pSh = this;
} }
else else
pSh = static_cast<SwViewShell*>(pSh->GetNext()); pSh = pSh->GetNext();
} }
const bool bIsShellForCheckViewLayout = ( this == GetLayout()->GetCurrShell() ); const bool bIsShellForCheckViewLayout = ( this == GetLayout()->GetCurrShell() );
......
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