diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-07 09:26:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-07 19:27:28 +0000 |
commit | c9be2744d8ebe673d9cd4b0b7b680565bc544329 (patch) | |
tree | 23fd666cfefe4dc9e70d557e9890fe02b87b6d80 /embedserv/source/inprocserv/inprocembobj.h | |
parent | 7994b77819a5de7a6da46ab01386883559e7a7d1 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Ifdcb1cc12645d6cdba81d16f94f0268696187cde
Reviewed-on: https://gerrit.libreoffice.org/21201
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'embedserv/source/inprocserv/inprocembobj.h')
-rw-r--r-- | embedserv/source/inprocserv/inprocembobj.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embedserv/source/inprocserv/inprocembobj.h b/embedserv/source/inprocserv/inprocembobj.h index 95a28ed2f94f..83e5c10470d5 100644 --- a/embedserv/source/inprocserv/inprocembobj.h +++ b/embedserv/source/inprocserv/inprocembobj.h @@ -94,7 +94,7 @@ class InprocEmbedDocument_Impl : public InprocCountedObject_Impl InprocEmbedDocument_Impl& m_rOwnDocument; public: - InternalCacheWrapper( InprocEmbedDocument_Impl& rOwnDocument ) + explicit InternalCacheWrapper( InprocEmbedDocument_Impl& rOwnDocument ) : m_rOwnDocument( rOwnDocument ) {} @@ -120,7 +120,7 @@ class InprocEmbedDocument_Impl : public InprocCountedObject_Impl public: - InprocEmbedDocument_Impl( const GUID& guid ) + explicit InprocEmbedDocument_Impl( const GUID& guid ) : m_refCount( 0 ) , m_bDeleted( FALSE ) , m_guid( guid ) |