summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-05 15:57:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-06 09:04:17 +0200
commit03d8a9209140a68d29b7441b3588f022cfcaee7c (patch)
tree15da3ccac0bcd9913b7528535c7381eb34e1402b /unotools
parentf547cf17a179ebd7de5c2b4dd2d00d0027a25429 (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 'unotools')
-rw-r--r--unotools/source/config/bootstrap.cxx3
-rw-r--r--unotools/source/misc/ZipPackageHelper.cxx5
-rw-r--r--unotools/source/misc/mediadescriptor.cxx1
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx7
4 files changed, 3 insertions, 13 deletions
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx
index b11d4648383d..51d3625e4af0 100644
--- a/unotools/source/config/bootstrap.cxx
+++ b/unotools/source/config/bootstrap.cxx
@@ -75,8 +75,7 @@ public: // struct to cache the result of a path lookup
PathStatus status;
PathData()
- : path()
- , status(DATA_UNKNOWN)
+ : status(DATA_UNKNOWN)
{}
};
public: // data members
diff --git a/unotools/source/misc/ZipPackageHelper.cxx b/unotools/source/misc/ZipPackageHelper.cxx
index f543843890d2..75b8ead41189 100644
--- a/unotools/source/misc/ZipPackageHelper.cxx
+++ b/unotools/source/misc/ZipPackageHelper.cxx
@@ -55,10 +55,7 @@ using ::rtl::Uri;
ZipPackageHelper::ZipPackageHelper(
const Reference< XComponentContext >& rxContext,
const OUString& sPackageURL)
-: mxContext( rxContext ),
- mxHNameAccess(),
- mxFactory(),
- mxRootFolder()
+: mxContext( rxContext )
{
// create the package zip file
Sequence< Any > aArguments( 2 );
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx
index f207faa3468b..a4d9b74a2ec7 100644
--- a/unotools/source/misc/mediadescriptor.cxx
+++ b/unotools/source/misc/mediadescriptor.cxx
@@ -331,7 +331,6 @@ const OUString& MediaDescriptor::PROP_SUGGESTEDSAVEASNAME()
}
MediaDescriptor::MediaDescriptor()
- : SequenceAsHashMap()
{
}
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 7394f106bd4f..da0118a6d60d 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -419,16 +419,11 @@ Moderator::Moderator(
Reference < XInteractionHandler > const & xInteract,
const Command& rArg
)
- : m_aMutex(),
-
- m_aRes(m_aMutex,*this),
+ : m_aRes(m_aMutex,*this),
m_aResultType(ResultType::NORESULT),
m_nIOErrorCode(IOErrorCode_ABORT),
- m_aResult(),
-
m_aRep(m_aMutex,*this),
m_aReplyType(NOREPLY),
-
m_aArg(rArg),
m_aContent(
xContent,