summaryrefslogtreecommitdiff
path: root/basic/source/classes
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:14:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:35 +0200
commitda50c790a74af391cd46e20dbb457e975894b9cf (patch)
tree544fcd5488c544775d666116953cdbe9e9339f07 /basic/source/classes
parent6546ed8c7948841f147c3848acccc8defbe9997a (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ib91f20761167ab78b68813d8877dceea5fef801f
Diffstat (limited to 'basic/source/classes')
-rw-r--r--basic/source/classes/sbunoobj.cxx4
-rw-r--r--basic/source/classes/sbxmod.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index a39697d1d933..5c475d2584a5 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -4390,12 +4390,12 @@ Any SAL_CALL ModuleInvocationProxy::getValue(const OUString& rProperty)
sal_Bool SAL_CALL ModuleInvocationProxy::hasMethod( const OUString& ) throw(std::exception)
{
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL ModuleInvocationProxy::hasProperty( const OUString& ) throw(std::exception)
{
- return sal_False;
+ return false;
}
Any SAL_CALL ModuleInvocationProxy::invoke( const OUString& rFunction,
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index e8b54d7cf214..85ae94f3f33c 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -357,7 +357,7 @@ sal_Bool SAL_CALL
DocObjectWrapper::hasMethod( const OUString& aName ) throw (RuntimeException, std::exception)
{
if ( m_xAggInv.is() && m_xAggInv->hasMethod( aName ) )
- return sal_True;
+ return true;
return getMethod( aName ).Is();
}