diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-03 19:00:34 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-04 01:10:02 +0100 |
commit | 3c1b9b89caddeff71afd3d97f52dd93df5c529af (patch) | |
tree | 14100192e920108a6f33699b2149b71f132443b6 /sw | |
parent | 005b96a409bd87b2a73842079a0de06b548334b8 (diff) |
unnecessary cast
Change-Id: I8096a0dfe0478671183c66fd9d1d516ec4ed3537
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 73ea54f60d17..70ba96b4d887 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -224,7 +224,7 @@ void SwViewShell::ImplEndAction( const bool bIdleEnd ) //will this put the EndAction of the last shell in the sequence? SwViewShell::mbLstAct = true; - SwViewShell *pSh = static_cast<SwViewShell*>(this->GetNext()); + SwViewShell *pSh = this->GetNext(); while ( pSh != this ) { if ( pSh->ActionPend() ) @@ -233,7 +233,7 @@ void SwViewShell::ImplEndAction( const bool bIdleEnd ) pSh = this; } else - pSh = static_cast<SwViewShell*>(pSh->GetNext()); + pSh = pSh->GetNext(); } const bool bIsShellForCheckViewLayout = ( this == GetLayout()->GetCurrShell() ); |