summaryrefslogtreecommitdiff
path: root/basic/source/runtime/runtime.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-rw-r--r--basic/source/runtime/runtime.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index ad31f7812f83..21ae531ebbc2 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -1585,8 +1585,8 @@ void SbiRuntime::StepLIKE()
SbxVariable* pRes = new SbxVariable;
utl::TextSearch aSearch(aSearchOpt);
sal_Int32 nStart=0, nEnd=value.getLength();
- int bRes = aSearch.SearchForward(value, &nStart, &nEnd);
- pRes->PutBool( bRes != 0 );
+ bool bRes = aSearch.SearchForward(value, &nStart, &nEnd);
+ pRes->PutBool( bRes );
PushVar( pRes );
}