basic/source/runtime/methods.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 558e956403f03c7c463597138c43ca1322b5d84b Author: Norbert Thiebaud <[email protected]> Date: Tue Feb 19 15:29:40 2013 -0600 coverity#704204 Logically dead code Change-Id: I0a8dbbb3dbe7408e6f4d92c0bbebdaaa7d882f01 Reviewed-on: https://gerrit.libreoffice.org/2271 Reviewed-by: Norbert Thiebaud <[email protected]> Tested-by: Norbert Thiebaud <[email protected]> diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index aeba267..d46d99b 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 _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
