summaryrefslogtreecommitdiff
path: root/io/source/acceptor
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-24 10:09:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-24 10:35:44 +0000
commit70b09d932225027d531c9a95317320174f8ad687 (patch)
treeec36c7d4927721c59d22830385517770e820d98b /io/source/acceptor
parentcbc5dc14d6bb795a9c2b54d624b10770a2a95a00 (diff)
cppcheck: noExplicitConstructor
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
Diffstat (limited to 'io/source/acceptor')
-rw-r--r--io/source/acceptor/acc_pipe.cxx2
-rw-r--r--io/source/acceptor/acc_socket.cxx4
-rw-r--r--io/source/acceptor/acceptor.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/io/source/acceptor/acc_pipe.cxx b/io/source/acceptor/acc_pipe.cxx
index 37097aa4867d..74baf3b2651a 100644
--- a/io/source/acceptor/acc_pipe.cxx
+++ b/io/source/acceptor/acc_pipe.cxx
@@ -42,7 +42,7 @@ namespace io_acceptor
public MyPipeConnection
{
public:
- PipeConnection( const OUString &sConnectionDescription);
+ explicit PipeConnection( const OUString &sConnectionDescription);
virtual ~PipeConnection();
virtual sal_Int32 SAL_CALL read( Sequence< sal_Int8 >& aReadBytes, sal_Int32 nBytesToRead )
diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx
index 976b7826f05d..b1a30a15a82f 100644
--- a/io/source/acceptor/acc_socket.cxx
+++ b/io/source/acceptor/acc_socket.cxx
@@ -69,7 +69,7 @@ namespace io_acceptor {
{
public:
- SocketConnection( const OUString & sConnectionDescription );
+ explicit SocketConnection( const OUString & sConnectionDescription );
virtual ~SocketConnection();
virtual sal_Int32 SAL_CALL read( css::uno::Sequence< sal_Int8 >& aReadBytes,
@@ -135,7 +135,7 @@ namespace io_acceptor {
struct callError {
const Any & any;
- callError(const Any & any);
+ explicit callError(const Any & any);
void operator () (Reference<XStreamListener> xStreamListener);
};
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx
index 12fde58be079..4822978be296 100644
--- a/io/source/acceptor/acceptor.cxx
+++ b/io/source/acceptor/acceptor.cxx
@@ -49,7 +49,7 @@ namespace io_acceptor
class OAcceptor : public WeakImplHelper< XAcceptor, XServiceInfo >
{
public:
- OAcceptor(const Reference< XComponentContext > & xCtx);
+ explicit OAcceptor(const Reference< XComponentContext > & xCtx);
virtual ~OAcceptor();
public:
// Methods