summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-08-08 04:43:26 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-08-23 00:52:30 +0200
commitf20a879fa173d40caa2a9deb09e57c56bfffd987 (patch)
treeee6ee26e8129702bb0d7db427070329d9899c724
parentEnable cell alignment test in orcus interface (diff)
downloadcore-feature/orcus-odf-rebased.tar.gz
core-feature/orcus-odf-rebased.zip
remove unnecessary default constructor and operator= feature/orcus-odf-rebased
They are equal to the default generated and therefore unnecessary. Change-Id: I4c0c77c025443fc074308bfd3ce2637a7e1af8bf
-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);