diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 15:28:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-26 09:57:21 +0100 |
commit | 6c9dfa8ab7cc25d6cc3ce988803118b5d56ea30b (patch) | |
tree | 83b683bb177d643385618e1f46642d014332a59d /uui/source/iahndl.hxx | |
parent | ecdbd313838093055c66614d7e5793aacae7c5bd (diff) |
cppcheck: noExplicitConstructor
Change-Id: If947733a205e8ece1845079be95cbc2d6cbd5029
Diffstat (limited to 'uui/source/iahndl.hxx')
-rw-r--r-- | uui/source/iahndl.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx index 437d0f26a541..1059b3c0a28b 100644 --- a/uui/source/iahndl.hxx +++ b/uui/source/iahndl.hxx @@ -69,8 +69,8 @@ struct InteractionHandlerData OUString ServiceName; InteractionHandlerData() {}; - InteractionHandlerData(const OUString & rService) - : ServiceName( rService ){} + explicit InteractionHandlerData(const OUString & rService) + : ServiceName( rService ){} }; typedef std::vector< InteractionHandlerData > InteractionHandlerDataList; @@ -97,7 +97,7 @@ public: com::sun::star::uno::Reference< com::sun::star::awt::XWindow > const & rxWindow, const OUString & rContextParam); - UUIInteractionHelper( + explicit UUIInteractionHelper( com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const & rxContext); @@ -295,9 +295,9 @@ private: class ErrorResource: private Resource { public: - inline ErrorResource(ResId & rResId): Resource(rResId) {} + explicit ErrorResource(ResId & rResId): Resource(rResId) {} - inline ~ErrorResource() { FreeResource(); } + ~ErrorResource() { FreeResource(); } bool getString(ErrCode nErrorCode, OUString &rString) const; }; |