summaryrefslogtreecommitdiff
path: root/unoxml/source/dom
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-25 15:28:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-26 09:57:21 +0100
commit6c9dfa8ab7cc25d6cc3ce988803118b5d56ea30b (patch)
tree83b683bb177d643385618e1f46642d014332a59d /unoxml/source/dom
parentecdbd313838093055c66614d7e5793aacae7c5bd (diff)
cppcheck: noExplicitConstructor
Change-Id: If947733a205e8ece1845079be95cbc2d6cbd5029
Diffstat (limited to 'unoxml/source/dom')
-rw-r--r--unoxml/source/dom/document.hxx2
-rw-r--r--unoxml/source/dom/documentbuilder.hxx2
-rw-r--r--unoxml/source/dom/elementlist.cxx2
-rw-r--r--unoxml/source/dom/saxbuilder.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/unoxml/source/dom/document.hxx b/unoxml/source/dom/document.hxx
index a4ef13a73aa1..4ba221be3af3 100644
--- a/unoxml/source/dom/document.hxx
+++ b/unoxml/source/dom/document.hxx
@@ -85,7 +85,7 @@ namespace DOM
::std::unique_ptr<events::CEventDispatcher> const m_pEventDispatcher;
- CDocument(xmlDocPtr const pDocPtr);
+ explicit CDocument(xmlDocPtr const pDocPtr);
public:
diff --git a/unoxml/source/dom/documentbuilder.hxx b/unoxml/source/dom/documentbuilder.hxx
index e6c4ddb4aaa0..2d16da2e7a85 100644
--- a/unoxml/source/dom/documentbuilder.hxx
+++ b/unoxml/source/dom/documentbuilder.hxx
@@ -59,7 +59,7 @@ namespace DOM
public:
// ctor
- CDocumentBuilder(
+ explicit CDocumentBuilder(
css::uno::Reference< css::lang::XMultiServiceFactory > const&
xFactory);
diff --git a/unoxml/source/dom/elementlist.cxx b/unoxml/source/dom/elementlist.cxx
index 2e7601723cf7..8dd8ac758323 100644
--- a/unoxml/source/dom/elementlist.cxx
+++ b/unoxml/source/dom/elementlist.cxx
@@ -38,7 +38,7 @@ namespace
css::uno::WeakReference<css::xml::dom::events::XEventListener> mxOwner;
public:
- WeakEventListener(const css::uno::Reference<css::xml::dom::events::XEventListener>& rOwner)
+ explicit WeakEventListener(const css::uno::Reference<css::xml::dom::events::XEventListener>& rOwner)
: mxOwner(rOwner)
{
}
diff --git a/unoxml/source/dom/saxbuilder.hxx b/unoxml/source/dom/saxbuilder.hxx
index 4f2565c19b47..ce8ce1368fdf 100644
--- a/unoxml/source/dom/saxbuilder.hxx
+++ b/unoxml/source/dom/saxbuilder.hxx
@@ -80,7 +80,7 @@ namespace DOM
static css::uno::Sequence< OUString > _getSupportedServiceNames();
static css::uno::Reference< XInterface > _getInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr);
- CSAXDocumentBuilder(const css::uno::Reference< css::lang::XMultiServiceFactory >& mgr);
+ explicit CSAXDocumentBuilder(const css::uno::Reference< css::lang::XMultiServiceFactory >& mgr);
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()