diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-05 12:39:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-05 12:47:23 +0100 |
commit | 0f86834bd5e2f8d8c7c7880c6f97273d45c599de (patch) | |
tree | ee5fe3561b3307edaf9d86703e9ceabb404960af /basic | |
parent | 71c49bcfa0677f013684030defbf5ead21695d85 (diff) |
Remove redundant explicit up-casts
Change-Id: I58fd91354fe41673216674f5ae9c11c17cb3f29d
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index e87a109efe0e..4dc99796ae00 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1713,7 +1713,7 @@ void SbiRuntime::StepPUT() // store on its own method (inside a function)? bool bFlagsChanged = false; SbxFlagBits n = SBX_NONE; - if( refVar.get() == static_cast<SbxVariable*>(pMeth) ) + if( refVar.get() == pMeth ) { bFlagsChanged = true; n = refVar->GetFlags(); @@ -1865,7 +1865,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b { bool bFlagsChanged = false; SbxFlagBits n = SBX_NONE; - if( refVar.get() == static_cast<SbxVariable*>(pMeth) ) + if( refVar.get() == pMeth ) { bFlagsChanged = true; n = refVar->GetFlags(); @@ -2066,7 +2066,7 @@ void SbiRuntime::StepLSET() else { SbxFlagBits n = refVar->GetFlags(); - if( refVar.get() == static_cast<SbxVariable*>(pMeth) ) + if( refVar.get() == pMeth ) { refVar->SetFlag( SBX_WRITE ); } @@ -2102,7 +2102,7 @@ void SbiRuntime::StepRSET() else { SbxFlagBits n = refVar->GetFlags(); - if( refVar.get() == static_cast<SbxVariable*>(pMeth) ) + if( refVar.get() == pMeth ) { refVar->SetFlag( SBX_WRITE ); } |