diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-05-17 16:22:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-05-19 20:34:08 +0200 |
commit | c12922a584ee7a150252de938087b82fd584b9d5 (patch) | |
tree | 782e500e97a2d1a8a5b8ae036cb4c45747567520 /unotools | |
parent | c5968b68c51503f791cdffac2b9689b7de775054 (diff) |
Fix nillability of ooSetupLastVersion
...that had been introduced with 5187d3ae495a07373a12fd5980c9269bc8ce3f8f
"Resolves: tdf#69042 - Add a 'What's New' infobar":
* Make the default value nil instead of an empty string.
* A nilable prop can't reuse the legacy utl::ConfigManager framework to obtain
string prop values, so drop it from there and directly use the direct-access
functionality in SfxViewFrame::Notify.
Change-Id: I5fc67a3d7e0fcb44a218889ecf8c69e81661567e
Reviewed-on: https://gerrit.libreoffice.org/72485
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/configmgr.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx index 859fd1c50498..05b1e5874643 100644 --- a/unotools/source/config/configmgr.cxx +++ b/unotools/source/config/configmgr.cxx @@ -135,12 +135,6 @@ 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", |