summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/misc
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-26 07:54:46 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-26 07:54:46 +0000
commit05e6f50ea06a510ea0e1aa124455db82bb341f95 (patch)
treeef5e66d43b6e6cf197fa2c4bffcd161ca28f7ca2 /desktop/source/deployment/misc
parente53d0302fd199a87f0ee970fc01b8c7215a8b8a1 (diff)
INTEGRATION: CWS jl67 (1.13.200); FILE MERGED
2007/07/11 11:44:34 jl 1.13.200.1: #i77752 support for default update URL for extensions
Diffstat (limited to 'desktop/source/deployment/misc')
-rw-r--r--desktop/source/deployment/misc/dp_misc.cxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx
index 61b2cf60c3..a28491f5e7 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dp_misc.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 09:41:35 $
+ * last change: $Author: rt $ $Date: 2007-07-26 08:54:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -340,4 +340,15 @@ Reference<XInterface> resolveUnoURL(
}
}
+OUString getExtensionDefaultUpdateURL()
+{
+ ::rtl::OUString sUrl(
+ RTL_CONSTASCII_USTRINGPARAM(
+ "${$SYSBINDIR/" SAL_CONFIGFILE("version")
+ ":Version:ExtensionUpdateURL"));
+ ::rtl::Bootstrap::expandMacros(sUrl);
+ return sUrl;
+}
+
+
}