summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-03-02 09:39:55 +0200
committerTor Lillqvist <tml@collabora.com>2015-03-02 09:39:55 +0200
commit6c7291141c4d217e9d4748086fa37b1bb0c1e15f (patch)
tree8c988752a4bb591aea375fdfd0a97343fae76b0c /basic
parentbc4a2d7ce9d4417f9d6cd58505d4ea3e959b1354 (diff)
WaE: implicit conversion from bool to 'int'
Change-Id: I40782009fb8d73f827c82c298586a7d4542561c9
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/runtime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 29c1913c69bf..39be30272de6 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -1575,7 +1575,7 @@ void SbiRuntime::StepLIKE()
aSearchOpt.Locale = Application::GetSettings().GetLanguageTag().getLocale();
aSearchOpt.searchString = pattern;
- int bTextMode(1);
+ bool bTextMode(true);
bool bCompatibility = ( GetSbData()->pInst && GetSbData()->pInst->IsCompatibility() );
if( bCompatibility )
{