summaryrefslogtreecommitdiff
path: root/scripting/source/vbaevents
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:19:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:49 +0200
commit4b9573ba669173d0d0d7653c9bcef276ec151cec (patch)
tree1cf5d6b8f648ccbb7b4a63d92bf160725511c7a3 /scripting/source/vbaevents
parent67187c14175778b7939692d6be6e8bab2930be1b (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ic3e7658ccfd23fa29af46eac971deac5a0373377
Diffstat (limited to 'scripting/source/vbaevents')
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index d43f930b0166..675f85b004fb 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -526,8 +526,8 @@ ReadOnlyEventsNameContainer::hasByName( const OUString& aName ) throw (RuntimeEx
{
EventSupplierHash::const_iterator it = m_hEvents.find( aName );
if ( it == m_hEvents.end() )
- return sal_False;
- return sal_True;
+ return false;
+ return true;
}
class ReadOnlyEventsSupplier : public ::cppu::WeakImplHelper< XScriptEventsSupplier >