diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/methods.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 76c8dd901207..fefb9d941d09 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -994,7 +994,7 @@ RTLFUNC(InStrRev) bool bCompatibility = ( pInst && pInst->IsCompatibility() ); if( bCompatibility ) { - SbiRuntime* pRT = pInst ? pInst->pRun : NULL; + SbiRuntime* pRT = pInst->pRun; bTextMode = pRT ? pRT->GetImageFlag( SBIMG_COMPARETEXT ) : sal_False; } else @@ -1368,7 +1368,7 @@ RTLFUNC(Replace) bool bCompatibility = ( pInst && pInst->IsCompatibility() ); if( bCompatibility ) { - SbiRuntime* pRT = pInst ? pInst->pRun : NULL; + SbiRuntime* pRT = pInst->pRun; bTextMode = pRT ? pRT->GetImageFlag( SBIMG_COMPARETEXT ) : sal_False; } else @@ -1629,7 +1629,7 @@ RTLFUNC(StrComp) bool bCompatibility = ( pInst && pInst->IsCompatibility() ); if( bCompatibility ) { - SbiRuntime* pRT = pInst ? pInst->pRun : NULL; + SbiRuntime* pRT = pInst->pRun; nTextCompare = pRT ? pRT->GetImageFlag( SBIMG_COMPARETEXT ) : sal_False; } else |