From 8325fcb56d014c12f35808ae6ad17f68b7a1cdd2 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 13 Nov 2015 09:56:41 +0000 Subject: cppcheck: noExplicitConstructor Change-Id: Ife26f55c28c4631aec4ba4105225bfca72da8bff --- scripting/source/vbaevents/eventhelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripting') 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; -- cgit