diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-24 10:09:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-24 10:35:44 +0000 |
commit | 70b09d932225027d531c9a95317320174f8ad687 (patch) | |
tree | ec36c7d4927721c59d22830385517770e820d98b /io/source/connector | |
parent | cbc5dc14d6bb795a9c2b54d624b10770a2a95a00 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
Diffstat (limited to 'io/source/connector')
-rw-r--r-- | io/source/connector/connector.cxx | 2 | ||||
-rw-r--r-- | io/source/connector/connector.hxx | 4 | ||||
-rw-r--r-- | io/source/connector/ctr_socket.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index 025f1a00db71..91071feb803d 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -52,7 +52,7 @@ namespace stoc_connector Reference< XMultiComponentFactory > _xSMgr; Reference< XComponentContext > _xCtx; public: - OConnector(const Reference< XComponentContext > &xCtx); + explicit OConnector(const Reference< XComponentContext > &xCtx); virtual ~OConnector(); // Methods virtual Reference< XConnection > SAL_CALL connect( diff --git a/io/source/connector/connector.hxx b/io/source/connector/connector.hxx index 117d63d304d5..ae9e98f3bc58 100644 --- a/io/source/connector/connector.hxx +++ b/io/source/connector/connector.hxx @@ -60,7 +60,7 @@ namespace stoc_connector { public: - PipeConnection( const OUString &sConnectionDescription ); + explicit PipeConnection( const OUString &sConnectionDescription ); virtual ~PipeConnection(); virtual sal_Int32 SAL_CALL read( css::uno::Sequence< sal_Int8 >& aReadBytes, @@ -89,7 +89,7 @@ namespace stoc_connector { public: - SocketConnection( const OUString & sConnectionDescription ); + explicit SocketConnection( const OUString & sConnectionDescription ); virtual ~SocketConnection(); virtual sal_Int32 SAL_CALL read( css::uno::Sequence< sal_Int8 >& aReadBytes, diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx index 3d7e320575f1..2995aad0a24b 100644 --- a/io/source/connector/ctr_socket.cxx +++ b/io/source/connector/ctr_socket.cxx @@ -56,7 +56,7 @@ namespace stoc_connector { struct callError { const Any & any; - callError(const Any & any); + explicit callError(const Any & any); void operator () (Reference<XStreamListener> xStreamListener); }; |