diff options
Diffstat (limited to 'scripting/source/vbaevents')
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 575fe2fd50fd..c6680c76acd8 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -800,13 +800,13 @@ bool FindControl(const ScriptEvent& evt, void* pPara) return false; } -//if the the given control type in evt.Arguments[0] appears in the type list in pPara, then approve the execution +//if the given control type in evt.Arguments[0] appears in the type list in pPara, then approve the execution bool ApproveType(const ScriptEvent& evt, void* pPara) { return FindControl(evt, pPara); } -//if the the given control type in evt.Arguments[0] appears in the type list in pPara, then deny the execution +//if the given control type in evt.Arguments[0] appears in the type list in pPara, then deny the execution bool DenyType(const ScriptEvent& evt, void* pPara) { return !FindControl(evt, pPara); |