summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/updateprotocol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/check/updateprotocol.cxx')
-rw-r--r--extensions/source/update/check/updateprotocol.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/extensions/source/update/check/updateprotocol.cxx b/extensions/source/update/check/updateprotocol.cxx
index 7ad265189832..7ef271aa1d40 100644
--- a/extensions/source/update/check/updateprotocol.cxx
+++ b/extensions/source/update/check/updateprotocol.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_folders.h>
+
#include <com/sun/star/xml/xpath/XPathAPI.hpp>
#include "updateprotocol.hxx"
@@ -50,17 +52,17 @@ getBootstrapData(
OUString & rGitID,
OUString & rInstallSetID)
{
- rGitID = "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":buildid}";
+ rGitID = "${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version") ":buildid}";
rtl::Bootstrap::expandMacros( rGitID );
if ( rGitID.isEmpty() )
return false;
- rInstallSetID = "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateID}";
+ rInstallSetID = "${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version") ":UpdateID}";
rtl::Bootstrap::expandMacros( rInstallSetID );
if ( rInstallSetID.isEmpty() )
return false;
- OUString aValue( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateURL}" );
+ OUString aValue( "${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version") ":UpdateURL}" );
rtl::Bootstrap::expandMacros( aValue );
if( !aValue.isEmpty() )