summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-08-08 04:43:26 +0200
committerMichael Stahl <mstahl@redhat.com>2016-08-26 13:11:29 +0000
commitd54773ada2301d3a5c1ffc702715cd2d4006ad53 (patch)
tree810eac4edb6d380f58881d5d1149a6d2b7db57ee /extensions
parenta5b29a702e9102bf85d90a40d33cde81cafda45a (diff)
remove unnecessary default constructor and operator=
They are equal to the default generated and therefore unnecessary. Change-Id: I4c0c77c025443fc074308bfd3ce2637a7e1af8bf Reviewed-on: https://gerrit.libreoffice.org/27946 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updateinfo.hxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/extensions/source/update/check/updateinfo.hxx b/extensions/source/update/check/updateinfo.hxx
index 4788405fdb09..a63e2332a546 100644
--- a/extensions/source/update/check/updateinfo.hxx
+++ b/extensions/source/update/check/updateinfo.hxx
@@ -54,23 +54,8 @@ struct UpdateInfo
OUString Description;
std::vector< DownloadSource > Sources;
std::vector< ReleaseNote > ReleaseNotes;
-
- UpdateInfo() : BuildId(), Version(), Description(), Sources(), ReleaseNotes() {};
- UpdateInfo(const UpdateInfo& ui) : BuildId(ui.BuildId), Version(ui.Version), Description(ui.Description), Sources(ui.Sources), ReleaseNotes(ui.ReleaseNotes) {};
- inline UpdateInfo & operator=( const UpdateInfo& ui );
};
-UpdateInfo & UpdateInfo::operator=( const UpdateInfo& ui )
-{
- BuildId = ui.BuildId;
- Version = ui.Version;
- Description = ui.Description;
- Sources = ui.Sources;
- ReleaseNotes = ui.ReleaseNotes;
- return *this;
-}
-
-
// Returns the URL of the release note for the given position
OUString getReleaseNote(const UpdateInfo& rInfo, sal_uInt8 pos, bool autoDownloadEnabled=false);