summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2019-05-13 10:59:18 +0200
committerHeiko Tietze <tietze.heiko@gmail.com>2019-05-17 10:43:57 +0200
commit5187d3ae495a07373a12fd5980c9269bc8ce3f8f (patch)
treed529b9a31620015ecab6e69c607a37de2fb8018b /unotools
parent9e35b5a70844c8a0f6bc8e9dd8e0055cf5597b07 (diff)
Resolves: tdf#69042 - Add a "What's New" infobar
Shows an infobar with a link to the respective wiki page Adds a button to the About dialog Replaces If6eb1542d2ad310226f76850f480f2f99070b803 Change-Id: I1eeb504994a6364feb90cfa447029875e0ec1969 Reviewed-on: https://gerrit.libreoffice.org/72218 Tested-by: Jenkins Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/configmgr.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx
index 05b1e5874643..859fd1c50498 100644
--- a/unotools/source/config/configmgr.cxx
+++ b/unotools/source/config/configmgr.cxx
@@ -135,6 +135,12 @@ OUString utl::ConfigManager::getProductVersion() {
"Product/ooSetupVersion");
}
+OUString utl::ConfigManager::getLastProductVersion() {
+ return getConfigurationString(
+ "/org.openoffice.Setup",
+ "Product/ooSetupLastVersion");
+}
+
OUString utl::ConfigManager::getVendor() {
return getConfigurationString(
"/org.openoffice.Setup",