diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-05 15:57:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-06 09:04:17 +0200 |
commit | 03d8a9209140a68d29b7441b3588f022cfcaee7c (patch) | |
tree | 15da3ccac0bcd9913b7528535c7381eb34e1402b /unoxml | |
parent | f547cf17a179ebd7de5c2b4dd2d00d0027a25429 (diff) |
clang-tidy:readability-redundant-member-init
Change-Id: I8590d67f064dd74da42c0e3bf543f2aadbd2b893
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121693
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/document.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/events/mouseevent.cxx | 3 | ||||
-rw-r--r-- | unoxml/source/events/mutationevent.cxx | 3 | ||||
-rw-r--r-- | unoxml/source/events/uievent.cxx | 3 | ||||
-rw-r--r-- | unoxml/source/rdf/CBlankNode.cxx | 3 | ||||
-rw-r--r-- | unoxml/source/rdf/CLiteral.cxx | 3 | ||||
-rw-r--r-- | unoxml/source/rdf/CURI.cxx | 3 | ||||
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 1 |
8 files changed, 6 insertions, 14 deletions
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx index 27db21ebe09b..49c524b5ee99 100644 --- a/unoxml/source/dom/document.cxx +++ b/unoxml/source/dom/document.cxx @@ -87,7 +87,6 @@ namespace DOM : CDocument_Base(*this, m_Mutex, NodeType_DOCUMENT_NODE, reinterpret_cast<xmlNodePtr>(pDoc)) , m_aDocPtr(pDoc) - , m_streamListeners() , m_pEventDispatcher(new events::CEventDispatcher) { } diff --git a/unoxml/source/events/mouseevent.cxx b/unoxml/source/events/mouseevent.cxx index 8f276f0eae9a..ee22b8905c70 100644 --- a/unoxml/source/events/mouseevent.cxx +++ b/unoxml/source/events/mouseevent.cxx @@ -26,8 +26,7 @@ using namespace css::xml::dom::views; namespace DOM::events { CMouseEvent::CMouseEvent() - : CMouseEvent_Base() - , m_screenX(0) + : m_screenX(0) , m_screenY(0) , m_clientX(0) , m_clientY(0) diff --git a/unoxml/source/events/mutationevent.cxx b/unoxml/source/events/mutationevent.cxx index a81720c7c1e0..216c2b164022 100644 --- a/unoxml/source/events/mutationevent.cxx +++ b/unoxml/source/events/mutationevent.cxx @@ -26,8 +26,7 @@ using namespace css::xml::dom::events; namespace DOM::events { CMutationEvent::CMutationEvent() - : CMutationEvent_Base() - , m_attrChangeType(AttrChangeType_MODIFICATION) + : m_attrChangeType(AttrChangeType_MODIFICATION) { } diff --git a/unoxml/source/events/uievent.cxx b/unoxml/source/events/uievent.cxx index faa15113b824..6d4092fc6b24 100644 --- a/unoxml/source/events/uievent.cxx +++ b/unoxml/source/events/uievent.cxx @@ -26,8 +26,7 @@ using namespace css::xml::dom::views; namespace DOM::events { CUIEvent::CUIEvent() - : CUIEvent_Base() - , m_detail(0) + : m_detail(0) { } diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index 368102e511ab..6e0140cc90fa 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -57,8 +57,7 @@ private: OUString m_NodeID; }; -CBlankNode::CBlankNode() : - m_NodeID() +CBlankNode::CBlankNode() {} // com.sun.star.uno.XServiceInfo: diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index ac0eadcd6985..b1c756883e5e 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -64,8 +64,7 @@ private: css::uno::Reference< css::rdf::XURI > m_xDatatype; }; -CLiteral::CLiteral() : - m_Value(), m_Language(), m_xDatatype() +CLiteral::CLiteral() {} // com.sun.star.uno.XServiceInfo: diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index 9a5a5b677831..488aa3e90798 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -66,8 +66,7 @@ private: OUString m_LocalName; }; -CURI::CURI() : - m_Namespace(), m_LocalName() +CURI::CURI() {} // com.sun.star.uno.XServiceInfo: diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index b3854d65a267..f9e918aff168 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -878,7 +878,6 @@ librdf_Repository::librdf_Repository( // m_pWorld (static_cast<librdf_world *>(0), safe_librdf_free_world ), , m_pStorage(static_cast<librdf_storage*>(nullptr), safe_librdf_free_storage) , m_pModel (static_cast<librdf_model *>(nullptr), safe_librdf_free_model ) - , m_NamedGraphs() , m_TypeConverter(i_xContext, *this) { OSL_ENSURE(i_xContext.is(), "librdf_Repository: null context"); |