Kaydet (Commit) 9cf87a44 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS ab49 (1.24.4); FILE MERGED

2008/04/09 11:36:19 ab 1.24.4.1: #i87644# Use $BRAND_BASE_DIR to find images.zip
üst d6e29af4
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: provider.cxx,v $ * $RCSfile: provider.cxx,v $
* $Revision: 1.25 $ * $Revision: 1.26 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
#include <com/sun/star/container/XNameReplace.hpp> #include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp>
#include <rtl/bootstrap.hxx>
#include "databases.hxx" #include "databases.hxx"
#include "provider.hxx" #include "provider.hxx"
...@@ -349,8 +350,8 @@ void ContentProvider::init() ...@@ -349,8 +350,8 @@ void ContentProvider::init()
subst( aPath ); subst( aPath );
aImagesZipPaths[ 0 ] = aPath; aImagesZipPaths[ 0 ] = aPath;
aPath = getKey( xHierAccess, "Path/Current/Config" ); aPath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
subst( aPath ); rtl::Bootstrap::expandMacros(aPath);
aImagesZipPaths[ 1 ] = aPath; aImagesZipPaths[ 1 ] = aPath;
uno::Reference< uno::XComponentContext > xContext; uno::Reference< uno::XComponentContext > xContext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment