summaryrefslogtreecommitdiff
path: root/scripting/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-13 09:56:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-13 10:17:26 +0000
commit8325fcb56d014c12f35808ae6ad17f68b7a1cdd2 (patch)
tree295fe60b2a4926f1f76e734a59bd08d6601ec386 /scripting/source
parent5a616ca96c41b1e3d6dc2bca370f0797dfef7511 (diff)
cppcheck: noExplicitConstructor
Change-Id: Ife26f55c28c4631aec4ba4105225bfca72da8bff
Diffstat (limited to 'scripting/source')
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index 1f8a3db02147..3c1fc4618625 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -306,8 +306,8 @@ EventInfoHash& getEventTransInfo()
class ScriptEventHelper
{
public:
- ScriptEventHelper( const Reference< XInterface >& xControl );
- ScriptEventHelper( const OUString& sCntrlServiceName );
+ explicit ScriptEventHelper( const Reference< XInterface >& xControl );
+ explicit ScriptEventHelper( const OUString& sCntrlServiceName );
~ScriptEventHelper();
Sequence< ScriptEventDescriptor > createEvents( const OUString& sCodeName );
Sequence< OUString > getEventListeners();
@@ -570,7 +570,7 @@ class EventListener : public EventListener_BASE
{
public:
- EventListener( const Reference< XComponentContext >& rxContext );
+ explicit EventListener( const Reference< XComponentContext >& rxContext );
// XEventListener
virtual void SAL_CALL disposing(const lang::EventObject& Source) throw( RuntimeException, std::exception ) override;
using cppu::OPropertySetHelper::disposing;