diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-31 18:06:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-01 10:01:44 +0200 |
commit | 9c9ff9e89fd50223b28f327d3a7e416ab0ae831f (patch) | |
tree | 8990680d8a5ab3cc961c1c3fe50313218f10c7a2 /include/svx | |
parent | 6b851810d43e4a9ea8119d97436f658593ff8f1b (diff) |
clang-tidy:readability-redundant-member-init
Change-Id: I78339f1df1f0c55c7edaa552940b07d1ada3aeb5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121386
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/ClassificationField.hxx | 3 | ||||
-rw-r--r-- | include/svx/ShapeTypeHandler.hxx | 3 | ||||
-rw-r--r-- | include/svx/svdmark.hxx | 4 | ||||
-rw-r--r-- | include/svx/svdpage.hxx | 2 |
4 files changed, 4 insertions, 8 deletions
diff --git a/include/svx/ClassificationField.hxx b/include/svx/ClassificationField.hxx index f932a665fde1..8588a3e024b8 100644 --- a/include/svx/ClassificationField.hxx +++ b/include/svx/ClassificationField.hxx @@ -67,8 +67,7 @@ public: OUString msIdentifier; ClassificationField(ClassificationType eType, OUString const & sDescription, OUString const & sFullClassName, OUString const & sIdentifier) - : SvxFieldData() - , meType(eType) + : meType(eType) , msDescription(sDescription) , msFullClassName(sFullClassName) , msIdentifier(sIdentifier) diff --git a/include/svx/ShapeTypeHandler.hxx b/include/svx/ShapeTypeHandler.hxx index 15992311dfc2..26d4aafd35f6 100644 --- a/include/svx/ShapeTypeHandler.hxx +++ b/include/svx/ShapeTypeHandler.hxx @@ -66,8 +66,7 @@ struct ShapeTypeDescriptor {} ShapeTypeDescriptor() : mnShapeTypeId (-1), - msServiceName (), - maCreateFunction (nullptr) + maCreateFunction (nullptr) {} }; diff --git a/include/svx/svdmark.hxx b/include/svx/svdmark.hxx index 1b121a58f86e..0416026000a6 100644 --- a/include/svx/svdmark.hxx +++ b/include/svx/svdmark.hxx @@ -151,8 +151,7 @@ class SVXCORE_DLLPUBLIC SdrMarkList final public: SdrMarkList() - : maList(), - mbPointNameOk(false), + : mbPointNameOk(false), mbGluePointNameOk(false), mbNameOk(false), mbSorted(true) @@ -160,7 +159,6 @@ public: } SdrMarkList(const SdrMarkList& rLst) - : maList() { *this = rLst; } diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx index fc6936a95282..40268b3248fb 100644 --- a/include/svx/svdpage.hxx +++ b/include/svx/svdpage.hxx @@ -296,7 +296,7 @@ class SVXCORE_DLLPUBLIC SdrPageGridFrameList final SdrPageGridFrame* GetObject(sal_uInt16 i) const { return aList[i]; } public: - SdrPageGridFrameList(): aList() {} + SdrPageGridFrameList() {} ~SdrPageGridFrameList() { Clear(); } void Clear(); sal_uInt16 GetCount() const { return sal_uInt16(aList.size()); } |