diff options
-rw-r--r-- | basic/source/runtime/methods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index aeba267552a5..d46d99be481b 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -925,7 +925,7 @@ RTLFUNC(InStr) 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 |