summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-02-19 15:29:40 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-02-22 07:53:22 +0000
commit558e956403f03c7c463597138c43ca1322b5d84b (patch)
treea3982c008237940804c05ba0547d5d25bd5924db /basic
parent41b9d58fb94234964d378e27e6a5a49db9023277 (diff)
coverity#704204 Logically dead code
Change-Id: I0a8dbbb3dbe7408e6f4d92c0bbebdaaa7d882f01 Reviewed-on: https://gerrit.libreoffice.org/2271 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods.cxx2
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