summaryrefslogtreecommitdiff
path: root/desktop/source/app/updater.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-21 20:18:34 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-22 00:59:51 +0200
commitb3b2a752b71070fb58619d0a12d1f2b1017a26ef (patch)
tree1cd8023c8acc152675327315e28d81127673c2db /desktop/source/app/updater.cxx
parentacb2bd197785a9ca715cf4e991f702bd60cd6960 (diff)
updater: handle the SeeAlso property after the update succeeded
Change-Id: Ib90f1f7def6de05144bf8215a97a6d6e15207b88 Reviewed-on: https://gerrit.libreoffice.org/39073 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'desktop/source/app/updater.cxx')
-rw-r--r--desktop/source/app/updater.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 468c94b4e74c..1d2b7585321c 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -694,6 +694,11 @@ void update_checker()
}
}
CreateValidUpdateDir(aUpdateInfo);
+ OUString aSeeAlsoURL = aUpdateInfo.aSeeAlsoURL;
+ std::shared_ptr< comphelper::ConfigurationChanges > batch(
+ comphelper::ConfigurationChanges::create());
+ officecfg::Office::Update::Update::SeeAlso::set(aSeeAlsoURL, batch);
+ batch->commit();
}
}
}