summaryrefslogtreecommitdiff
path: root/unotools/source/config/configmgr.cxx
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-12-16 14:08:38 +0100
committerPetr Mladek <pmladek@suse.cz>2011-12-16 14:29:13 +0100
commitdac89858f63c0f9527f11ad3a6c8b5ea16053c85 (patch)
treeef1da3fd7966179c685963acd48f3151487ec865 /unotools/source/config/configmgr.cxx
parent32f07ecc8e57a95c5da0ef4f137644c808d71305 (diff)
add version suffix (beta1) to about dialog
configurable at build time via ABOUTBOXPRODUCTVERSIONSUFFIX in instsetoo_native/util/openoffice.lst configurable at runtime via registry/data/org/openoffice/Setup.xcu and ooSetupVersionAboutBoxSuffix property
Diffstat (limited to 'unotools/source/config/configmgr.cxx')
-rw-r--r--unotools/source/config/configmgr.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx
index 553e15aae54c..f761c5f0901f 100644
--- a/unotools/source/config/configmgr.cxx
+++ b/unotools/source/config/configmgr.cxx
@@ -114,6 +114,13 @@ rtl::OUString utl::ConfigManager::getAboutBoxProductVersion() {
RTL_CONSTASCII_USTRINGPARAM("Product/ooSetupVersionAboutBox")));
}
+rtl::OUString utl::ConfigManager::getAboutBoxProductVersionSuffix() {
+ return getConfigurationString(
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup")),
+ rtl::OUString(
+ RTL_CONSTASCII_USTRINGPARAM("Product/ooSetupVersionAboutBoxSuffix")));
+}
+
rtl::OUString utl::ConfigManager::getDefaultCurrency() {
return getConfigurationString(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Setup")),