Undo basis/brand split: merge basis share/ into brand share/.

This commit is contained in:
Stephan Bergmann 2011-10-07 21:12:30 +02:00
parent 29e11dd13e
commit 2ff63bcdea
32 changed files with 105 additions and 162 deletions

View File

@ -529,32 +529,22 @@ Components::Components(
0, 0,
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/registry")))); RTL_CONSTASCII_USTRINGPARAM(
"$BRAND_BASE_DIR/share/registry"))));
parseModuleLayer( parseModuleLayer(
2, 2,
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
"$OOO_BASE_DIR/share/registry/modules")))); "$BRAND_BASE_DIR/share/registry/modules"))));
parseResLayer( parseResLayer(
3, 3,
expand(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/registry"))));
parseXcsXcuLayer(
4,
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
"$BRAND_BASE_DIR/share/registry")))); "$BRAND_BASE_DIR/share/registry"))));
parseModuleLayer(
6,
expand(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
"$BRAND_BASE_DIR/share/registry/modules"))));
parseXcsXcuIniLayer( parseXcsXcuIniLayer(
7, 4,
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
@ -564,7 +554,7 @@ Components::Components(
"PackageRegistryBackend/configmgr.ini"))), "PackageRegistryBackend/configmgr.ini"))),
false); false);
parseXcsXcuIniLayer( parseXcsXcuIniLayer(
9, 6,
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
@ -574,7 +564,7 @@ Components::Components(
"PackageRegistryBackend/configmgr.ini"))), "PackageRegistryBackend/configmgr.ini"))),
true); true);
parseXcsXcuLayer( parseXcsXcuLayer(
11, 8,
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
@ -585,7 +575,7 @@ Components::Components(
// can be dropped once old UserInstallation format can no longer exist // can be dropped once old UserInstallation format can no longer exist
// (probably OOo 4) // (probably OOo 4)
parseXcsXcuIniLayer( parseXcsXcuIniLayer(
13, 10,
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(

View File

@ -79,7 +79,7 @@ done
if [ "$OPTSYNC" = "true" ] && [ -z "$OPTOTHER" ] if [ "$OPTSYNC" = "true" ] && [ -z "$OPTOTHER" ]
then then
JVMFWKPARAMS='-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1' JVMFWKPARAMS='-env:UNO_JAVA_JFW_INSTALL_DATA=$BRAND_BASE_DIR/share/config/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
fi fi
# extend the ld_library_path for java: javaldx checks the sofficerc for us # extend the ld_library_path for java: javaldx checks the sofficerc for us

View File

@ -415,7 +415,7 @@ extern "C" DESKTOP_DLLPUBLIC int unopkg_main()
//for the admin. The value must also be set in the unopkg script (Linux, etc.) //for the admin. The value must also be set in the unopkg script (Linux, etc.)
//when calling javaldx //when calling javaldx
::rtl::Bootstrap::set(OUSTR("UNO_JAVA_JFW_INSTALL_DATA"), ::rtl::Bootstrap::set(OUSTR("UNO_JAVA_JFW_INSTALL_DATA"),
OUSTR("$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml")); OUSTR("$BRAND_BASE_DIR/share/config/javasettingsunopkginstall.xml"));
} }

View File

@ -1169,6 +1169,12 @@ throw ( NoSuchElementException, RuntimeException )
void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariables& aPreDefPathVariables ) void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariables& aPreDefPathVariables )
{ {
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "SubstitutePathVariables::SetPredefinedPathVariables" ); RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "SubstitutePathVariables::SetPredefinedPathVariables" );
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL] = rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR"));
rtl::Bootstrap::expandMacros(
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL]);
Any aAny; Any aAny;
::rtl::OUString aOfficePath; ::rtl::OUString aOfficePath;
::rtl::OUString aUserPath; ::rtl::OUString aUserPath;
@ -1180,9 +1186,10 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
::utl::Bootstrap::PathStatus aState; ::utl::Bootstrap::PathStatus aState;
::rtl::OUString sVal ; ::rtl::OUString sVal ;
rtl::OUString basis;
aState = utl::Bootstrap::locateBaseInstallation( sVal ); aState = utl::Bootstrap::locateBaseInstallation( sVal );
if( aState==::utl::Bootstrap::PATH_EXISTS ) { if( aState==::utl::Bootstrap::PATH_EXISTS ) {
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ] = ConvertOSLtoUCBURL( sVal ); basis = ConvertOSLtoUCBURL( sVal );
} }
else { else {
LOG_ERROR( "SubstitutePathVariables::SetPredefinedPathVariables", "Bootstrap code has no value for instpath!"); LOG_ERROR( "SubstitutePathVariables::SetPredefinedPathVariables", "Bootstrap code has no value for instpath!");
@ -1197,6 +1204,7 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
} }
// Set $(inst), $(instpath), $(insturl) // Set $(inst), $(instpath), $(insturl)
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ] = aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL];
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTURL ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ]; aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTURL ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ];
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INST ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ]; aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INST ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ];
// New variable of hierachy service (#i32656#) // New variable of hierachy service (#i32656#)
@ -1210,8 +1218,7 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
// Detect the program directory // Detect the program directory
// Set $(prog), $(progpath), $(progurl) // Set $(prog), $(progpath), $(progurl)
INetURLObject aProgObj( INetURLObject aProgObj( basis );
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ] );
if ( !aProgObj.HasError() && aProgObj.insertName( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("program")) ) ) if ( !aProgObj.HasError() && aProgObj.insertName( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("program")) ) )
{ {
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_PROGPATH ] = aProgObj.GetMainURL(INetURLObject::NO_DECODE); aPreDefPathVariables.m_FixedVar[ PREDEFVAR_PROGPATH ] = aProgObj.GetMainURL(INetURLObject::NO_DECODE);
@ -1256,11 +1263,6 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
// Set $(temp) // Set $(temp)
osl::FileBase::getTempDirURL( aTmp ); osl::FileBase::getTempDirURL( aTmp );
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_TEMP ] = ConvertOSLtoUCBURL( aTmp ); aPreDefPathVariables.m_FixedVar[ PREDEFVAR_TEMP ] = ConvertOSLtoUCBURL( aTmp );
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL] = rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR"));
rtl::Bootstrap::expandMacros(
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL]);
} }
} // namespace framework } // namespace framework

View File

@ -52,11 +52,9 @@ module com { module sun { module star { module util {
</p> </p>
<dl> <dl>
<dt>$(inst)</dt> <dt>$(inst)</dt>
<dd>Installation path of the Office Basis layer.</dd> <dd>Installation path of the Office.</dd>
<dt>$(prog)</dt> <dt>$(prog)</dt>
<dd>Program path of the Office Basis layer.</dd> <dd>Program path of the Office.</dd>
<dt>$(brandbaseurl)</dt>
<dd>Installation path of the the Office Brand layer.</dd>
<dt>$(user)</dt> <dt>$(user)</dt>
<dd>The user installation directory.</dd> <dd>The user installation directory.</dd>
<dt>$(work)</dt> <dt>$(work)</dt>

View File

@ -160,7 +160,7 @@
</node> </node>
<node oor:name="Misc"> <node oor:name="Misc">
<prop oor:name="TransitionFiles" install:module="ogltrans"> <prop oor:name="TransitionFiles" install:module="ogltrans">
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value> <value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value>
</prop> </prop>
</node> </node>
</oor:component-data> </oor:component-data>

View File

@ -475,7 +475,7 @@
</desc> </desc>
<label>List of files containing transition effects</label> <label>List of files containing transition effects</label>
</info> </info>
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value> <value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value>
</prop> </prop>
<prop oor:name="EffectFiles" oor:type="oor:string-list"> <prop oor:name="EffectFiles" oor:type="oor:string-list">
<!-- OldPath: --> <!-- OldPath: -->
@ -491,7 +491,7 @@
</desc> </desc>
<label>List of files containing object effects</label> <label>List of files containing object effects</label>
</info> </info>
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/effects.xml</value> <value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/effects.xml</value>
</prop> </prop>
<prop oor:name="PreviewNewEffects" oor:type="xs:boolean"> <prop oor:name="PreviewNewEffects" oor:type="xs:boolean">
<!-- OldPath: --> <!-- OldPath: -->

View File

@ -64,6 +64,7 @@ MY_FILES_base = \
$(MY_MOD)/org/openoffice/Office/Common-base.xcu \ $(MY_MOD)/org/openoffice/Office/Common-base.xcu \
$(MY_MOD)/org/openoffice/Setup-base.xcu $(MY_MOD)/org/openoffice/Setup-base.xcu
MY_DEPS_brand = main
MY_FILES_brand = \ MY_FILES_brand = \
$(MY_XCU)/Office/Compatibility.xcu \ $(MY_XCU)/Office/Compatibility.xcu \
$(MY_MOD)/org/openoffice/Office/Common-brand.xcu \ $(MY_MOD)/org/openoffice/Office/Common-brand.xcu \
@ -83,6 +84,7 @@ MY_FILES_calc = \
$(MY_MOD)/org/openoffice/Office/Embedding-calc.xcu \ $(MY_MOD)/org/openoffice/Office/Embedding-calc.xcu \
$(MY_MOD)/org/openoffice/Setup-calc.xcu $(MY_MOD)/org/openoffice/Setup-calc.xcu
MY_DEPS_cjk = main
MY_FILES_cjk = \ MY_FILES_cjk = \
$(MY_MOD)/org/openoffice/Office/Common-cjk.xcu \ $(MY_MOD)/org/openoffice/Office/Common-cjk.xcu \
$(MY_MOD)/org/openoffice/Office/Writer-cjk.xcu $(MY_MOD)/org/openoffice/Office/Writer-cjk.xcu
@ -120,6 +122,7 @@ MY_FILES_impress = \
$(MY_MOD)/org/openoffice/Office/Embedding-impress.xcu \ $(MY_MOD)/org/openoffice/Office/Embedding-impress.xcu \
$(MY_MOD)/org/openoffice/Setup-impress.xcu $(MY_MOD)/org/openoffice/Setup-impress.xcu
MY_DEPS_korea = main
MY_FILES_korea = \ MY_FILES_korea = \
$(MY_MOD)/org/openoffice/Office/Common-korea.xcu $(MY_MOD)/org/openoffice/Office/Common-korea.xcu

View File

@ -84,6 +84,6 @@ End
File gid_File_Share_Registry_Base_Xcd File gid_File_Share_Registry_Base_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "base.xcd"; Name = "base.xcd";
End End

View File

@ -31,7 +31,7 @@
File gid_File_Share_Registry_Binfilter_Xcd File gid_File_Share_Registry_Binfilter_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "binfilter.xcd"; Name = "binfilter.xcd";
End End

View File

@ -41,7 +41,7 @@ STD_LIB_FILE( gid_File_Lib_Analysis, analysis)
File gid_File_Share_Registry_Calc_Xcd File gid_File_Share_Registry_Calc_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "calc.xcd"; Name = "calc.xcd";
End End

View File

@ -30,7 +30,7 @@
File gid_File_Share_Registry_Draw_Xcd File gid_File_Share_Registry_Draw_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "draw.xcd"; Name = "draw.xcd";
End End

View File

@ -48,7 +48,7 @@ End
File gid_File_Share_Registry_Gnome_Xcd File gid_File_Share_Registry_Gnome_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "gnome.xcd"; Name = "gnome.xcd";
End End
#endif #endif

View File

@ -30,7 +30,7 @@
File gid_File_Share_Registry_Graphicfilter_Xcd File gid_File_Share_Registry_Graphicfilter_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "graphicfilter.xcd"; Name = "graphicfilter.xcd";
End End

View File

@ -40,7 +40,7 @@ End
File gid_File_Share_Registry_Impress_Xcd File gid_File_Share_Registry_Impress_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "impress.xcd"; Name = "impress.xcd";
End End

View File

@ -57,6 +57,6 @@ End
File gid_File_Share_Registry_Ogltrans_Xcd File gid_File_Share_Registry_Ogltrans_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "ogltrans.xcd"; Name = "ogltrans.xcd";
End End

View File

@ -52,21 +52,21 @@ End
File gid_File_Share_Registry_Palm_Xcd File gid_File_Share_Registry_Palm_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "palm.xcd"; Name = "palm.xcd";
End End
File gid_File_Share_Registry_Pocketexcel_Xcd File gid_File_Share_Registry_Pocketexcel_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "pocketexcel.xcd"; Name = "pocketexcel.xcd";
End End
File gid_File_Share_Registry_Pocketword_Xcd File gid_File_Share_Registry_Pocketword_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "pocketword.xcd"; Name = "pocketword.xcd";
End End

View File

@ -28,7 +28,7 @@
#include "macros.inc" #include "macros.inc"
Directory gid_Dir_Share_Layout Directory gid_Dir_Share_Layout
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "layout"; DosName = "layout";
End End

View File

@ -46,7 +46,7 @@ STD_RES_FILE( gid_File_Res_Sm, sm )
File gid_File_Share_Registry_Math_Xcd File gid_File_Share_Registry_Math_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "math.xcd"; Name = "math.xcd";
End End

View File

@ -32,7 +32,7 @@ SPECIAL_COMPONENT_LIB_FILE( gid_File_Lib_Updchk , updchk.uno )
File gid_File_Share_Registry_Onlineupdate_Xcd File gid_File_Share_Registry_Onlineupdate_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "onlineupdate.xcd"; Name = "onlineupdate.xcd";
End End

View File

@ -349,22 +349,13 @@ Directory gid_Dir_Plugin
Styles = (WORKSTATION, CREATE); Styles = (WORKSTATION, CREATE);
End End
Directory gid_Dir_Share
#if defined MACOSX
ParentID = gid_Brand_Dir_BasisLink;
#else
ParentID = gid_Dir_Ooo_Basis;
#endif
DosName = "share";
End
Directory gid_Dir_Share_Migration Directory gid_Dir_Share_Migration
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "migration"; DosName = "migration";
End End
Directory gid_Dir_Fonts Directory gid_Dir_Fonts
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "fonts"; DosName = "fonts";
End End
@ -378,7 +369,7 @@ End
#endif #endif
Directory gid_Dir_Share_Xslt Directory gid_Dir_Share_Xslt
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "xslt"; DosName = "xslt";
End End
@ -460,7 +451,7 @@ Directory gid_Dir_Share_Xslt_Import_Common
End End
Directory gid_Dir_Share_Dtd Directory gid_Dir_Share_Dtd
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "dtd"; DosName = "dtd";
End End
@ -485,17 +476,12 @@ Directory gid_Dir_Share_Dtd_Math_1_01
End End
Directory gid_Dir_Share_Pqa Directory gid_Dir_Share_Pqa
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "pqa"; DosName = "pqa";
End End
Directory gid_Dir_Share_Config
ParentID = gid_Dir_Share;
DosName = "config";
End
Directory gid_Dir_Share_Config_Wizard Directory gid_Dir_Share_Config_Wizard
ParentID = gid_Dir_Share_Config; ParentID = gid_Brand_Dir_Share_Config;
DosName = "wizard"; DosName = "wizard";
End End
@ -510,7 +496,7 @@ Directory gid_Dir_Share_Config_Wizard_Web_Buttons
End End
Directory gid_Dir_Share_Config_Sofficecfg Directory gid_Dir_Share_Config_Sofficecfg
ParentID = gid_Dir_Share_Config; ParentID = gid_Brand_Dir_Share_Config;
DosName = "soffice.cfg"; DosName = "soffice.cfg";
End End
@ -674,18 +660,13 @@ Directory gid_Dir_Share_Config_Sofficecfg_Swriter_Menubar
DosName = "menubar"; DosName = "menubar";
End End
Directory gid_Dir_Share_Registry
ParentID = gid_Dir_Share;
DosName = "registry";
End
Directory gid_Dir_Share_Registry_Res Directory gid_Dir_Share_Registry_Res
ParentID = gid_Dir_Share_Registry; ParentID = gid_Brand_Dir_Share_Registry;
HostName = "res"; HostName = "res";
End End
Directory gid_Dir_Autotext Directory gid_Dir_Autotext
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "autotext"; DosName = "autotext";
End End
@ -695,13 +676,13 @@ Directory gid_Dir_Autotext_Language
End End
Directory gid_Dir_Share_Autocorr Directory gid_Dir_Share_Autocorr
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "autocorr"; DosName = "autocorr";
Styles = (WORKSTATION, CREATE); Styles = (WORKSTATION, CREATE);
End End
Directory gid_Dir_Basic Directory gid_Dir_Basic
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "basic"; DosName = "basic";
End End
@ -761,62 +742,57 @@ Directory gid_Dir_Basic_Scriptbindinglib
End End
Directory gid_Dir_Share_Scripts Directory gid_Dir_Share_Scripts
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "Scripts"; DosName = "Scripts";
End End
Directory gid_Dir_Share_Dict Directory gid_Dir_Share_Dict
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "dict"; DosName = "dict";
End End
Directory gid_Dir_Config
ParentID = gid_Dir_Share;
DosName = "config";
End
Directory gid_Dir_Config_Language Directory gid_Dir_Config_Language
ParentID = gid_Dir_Config; ParentID = gid_Brand_Dir_Share_Config;
DIR_ISOLANGUAGE_ALL_LANG_2; DIR_ISOLANGUAGE_ALL_LANG_2;
End End
Directory gid_Dir_Share_Config_Help Directory gid_Dir_Share_Config_Help
ParentID = gid_Dir_Config; ParentID = gid_Brand_Dir_Share_Config;
DosName = "help"; DosName = "help";
End End
Directory gid_Dir_Config_More Directory gid_Dir_Config_More
ParentID = gid_Dir_Config; ParentID = gid_Brand_Dir_Share_Config;
DosName = "more"; DosName = "more";
End End
Directory gid_Dir_Config_Start Directory gid_Dir_Config_Start
ParentID = gid_Dir_Config; ParentID = gid_Brand_Dir_Share_Config;
DosName = "start"; DosName = "start";
End End
Directory gid_Dir_Config_Tasks Directory gid_Dir_Config_Tasks
ParentID = gid_Dir_Config; ParentID = gid_Brand_Dir_Share_Config;
DosName = "tasks"; DosName = "tasks";
End End
Directory gid_Dir_Config_Settings Directory gid_Dir_Config_Settings
ParentID = gid_Dir_Config; ParentID = gid_Brand_Dir_Share_Config;
DosName = "settings"; DosName = "settings";
End End
Directory gid_Dir_Config_Symbol Directory gid_Dir_Config_Symbol
ParentID = gid_Dir_Config; ParentID = gid_Brand_Dir_Share_Config;
DosName = "symbol"; DosName = "symbol";
End End
Directory gid_Dir_Config_Webcast Directory gid_Dir_Config_Webcast
ParentID = gid_Dir_Config; ParentID = gid_Brand_Dir_Share_Config;
DosName = "webcast"; DosName = "webcast";
End End
Directory gid_Dir_Gallery Directory gid_Dir_Gallery
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "gallery"; DosName = "gallery";
End End
@ -961,7 +937,7 @@ Directory gid_Dir_Gallery_Wwwgraf
End End
Directory gid_Dir_Template Directory gid_Dir_Template
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "template"; DosName = "template";
End End
@ -1076,7 +1052,7 @@ Directory gid_Dir_Template_Internal
End End
Directory gid_Dir_Share_Database Directory gid_Dir_Share_Database
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "database"; DosName = "database";
End End
@ -1086,12 +1062,12 @@ Directory gid_Dir_Share_Database_Language
End End
Directory gid_Dir_Explorer Directory gid_Dir_Explorer
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "explorer"; DosName = "explorer";
End End
Directory gid_Dir_Bookmark Directory gid_Dir_Bookmark
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "bookmark"; DosName = "bookmark";
End End
@ -1131,12 +1107,12 @@ Directory gid_Dir_Bookmark_Tourismus
End End
Directory gid_Dir_Palmpilot Directory gid_Dir_Palmpilot
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "palmpilot"; DosName = "palmpilot";
End End
Directory gid_Dir_Samples Directory gid_Dir_Samples
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "samples"; DosName = "samples";
End End
@ -1187,17 +1163,17 @@ Directory gid_Dir_Samples_Databases_Dateien
End End
Directory gid_Dir_Wordbook Directory gid_Dir_Wordbook
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "wordbook"; DosName = "wordbook";
End End
Directory gid_Dir_Share_Plugin Directory gid_Dir_Share_Plugin
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "plugin"; DosName = "plugin";
End End
Directory gid_Dir_Share_Fingerprint Directory gid_Dir_Share_Fingerprint
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "fingerprint"; DosName = "fingerprint";
End End
@ -1307,7 +1283,7 @@ End
#ifdef UNX #ifdef UNX
Directory gid_Dir_Psprint Directory gid_Dir_Psprint
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "psprint"; DosName = "psprint";
End End
@ -1334,7 +1310,7 @@ End
#ifdef UNX #ifdef UNX
Directory gid_Dir_Share_Icons Directory gid_Dir_Share_Icons
ParentID = gid_Dir_Share; ParentID = gid_Brand_Dir_Share;
DosName = "icons"; DosName = "icons";
End End

View File

@ -51,7 +51,7 @@ End
#ifdef UNX #ifdef UNX
File gid_File_Extra_Cfgsrv_Bitmap_Unx File gid_File_Extra_Cfgsrv_Bitmap_Unx
Dir = gid_Dir_Config; Dir = gid_Brand_Dir_Share_Config;
ARCHIVE_TXT_FILE_BODY; ARCHIVE_TXT_FILE_BODY;
Name = "cfgsrvbitmapunx.zip"; Name = "cfgsrvbitmapunx.zip";
End End
@ -66,7 +66,7 @@ File gid_File_Extra_Cfgusr
End End
File gid_File_Extra_Cfgsrv File gid_File_Extra_Cfgsrv
Dir = gid_Dir_Config; Dir = gid_Brand_Dir_Share_Config;
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (ARCHIVE); Styles = (ARCHIVE);
Name = "cfgsrvnolang.zip"; Name = "cfgsrvnolang.zip";

View File

@ -598,7 +598,7 @@ End
File gid_File_Share_Registry_Main_Xcd File gid_File_Share_Registry_Main_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED, SCPZIP_REPLACE); Styles = (PACKED, SCPZIP_REPLACE);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "main.xcd"; Name = "main.xcd";
End End
@ -607,7 +607,7 @@ End
File gid_File_Share_Registry_Forcedefault_Xcd File gid_File_Share_Registry_Forcedefault_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED, SCPZIP_REPLACE, SET_OFFICE_LANGUAGE); Styles = (PACKED, SCPZIP_REPLACE, SET_OFFICE_LANGUAGE);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "forcedefault.xcd"; Name = "forcedefault.xcd";
End End
@ -616,14 +616,14 @@ End
File gid_File_Oo_Ldap_Xcd_Sample File gid_File_Oo_Ldap_Xcd_Sample
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "oo-ldap.xcd.sample"; Name = "oo-ldap.xcd.sample";
End End
File gid_File_Oo_Ad_Ldap_Xcd_Sample File gid_File_Oo_Ad_Ldap_Xcd_Sample
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "oo-ad-ldap.xcd.sample"; Name = "oo-ad-ldap.xcd.sample";
End End
@ -656,14 +656,14 @@ End
File gid_File_Registry_Spool_Langpack_Lang File gid_File_Registry_Spool_Langpack_Lang
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
FILE_ALL_LANG_LETTER(Langpack-,xcd); FILE_ALL_LANG_LETTER(Langpack-,xcd);
End End
File gid_File_Share_Registry_Ctl_Xcd File gid_File_Share_Registry_Ctl_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED,MAKE_LANG_SPECIFIC); Styles = (PACKED,MAKE_LANG_SPECIFIC);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name (ar) = "ctl.xcd"; Name (ar) = "ctl.xcd";
Name (dz) = "ctl.xcd"; Name (dz) = "ctl.xcd";
Name (fa) = "ctl.xcd"; Name (fa) = "ctl.xcd";
@ -683,7 +683,7 @@ End
File gid_File_Share_Registry_Ctlseqcheck_Xcd File gid_File_Share_Registry_Ctlseqcheck_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED,MAKE_LANG_SPECIFIC); Styles = (PACKED,MAKE_LANG_SPECIFIC);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name (km) = "ctlseqcheck.xcd"; Name (km) = "ctlseqcheck.xcd";
Name (lo) = "ctlseqcheck.xcd"; Name (lo) = "ctlseqcheck.xcd";
Name (th) = "ctlseqcheck.xcd"; Name (th) = "ctlseqcheck.xcd";
@ -1228,7 +1228,7 @@ End
File gid_File_Config_Javasettingsunopkginstall File gid_File_Config_Javasettingsunopkginstall
USER_FILE_BODY; USER_FILE_BODY;
Dir = gid_Dir_Config; Dir = gid_Brand_Dir_Share_Config;
Name = "javasettingsunopkginstall.xml"; Name = "javasettingsunopkginstall.xml";
#ifdef SOLARIS #ifdef SOLARIS
Styles = (PACKED,VOLATILEFILE); Styles = (PACKED,VOLATILEFILE);
@ -1240,7 +1240,7 @@ End
#ifdef THEME_DEFAULT #ifdef THEME_DEFAULT
File gid_File_Images_Zip File gid_File_Images_Zip
TXT_FILE_BODY; TXT_FILE_BODY;
Dir = gid_Dir_Share_Config; Dir = gid_Brand_Dir_Share_Config;
Name = "images.zip"; Name = "images.zip";
Styles = (PACKED); Styles = (PACKED);
End End
@ -1249,7 +1249,7 @@ End
#ifdef THEME_CRYSTAL #ifdef THEME_CRYSTAL
File gid_File_ImagesCrystal_Zip File gid_File_ImagesCrystal_Zip
TXT_FILE_BODY; TXT_FILE_BODY;
Dir = gid_Dir_Share_Config; Dir = gid_Brand_Dir_Share_Config;
Name = "images_crystal.zip"; Name = "images_crystal.zip";
Styles = (PACKED); Styles = (PACKED);
End End
@ -1258,7 +1258,7 @@ End
#ifdef THEME_OXYGEN #ifdef THEME_OXYGEN
File gid_File_ImagesOxygen_Zip File gid_File_ImagesOxygen_Zip
TXT_FILE_BODY; TXT_FILE_BODY;
Dir = gid_Dir_Share_Config; Dir = gid_Brand_Dir_Share_Config;
Name = "images_oxygen.zip"; Name = "images_oxygen.zip";
Styles = (PACKED); Styles = (PACKED);
End End
@ -1267,7 +1267,7 @@ End
#ifdef THEME_HICONTRAST #ifdef THEME_HICONTRAST
File gid_File_ImagesHicontrast_Zip File gid_File_ImagesHicontrast_Zip
TXT_FILE_BODY; TXT_FILE_BODY;
Dir = gid_Dir_Share_Config; Dir = gid_Brand_Dir_Share_Config;
Name = "images_hicontrast.zip"; Name = "images_hicontrast.zip";
Styles = (PACKED); Styles = (PACKED);
End End
@ -1276,7 +1276,7 @@ End
#ifdef THEME_TANGO #ifdef THEME_TANGO
File gid_File_ImagesTango_Zip File gid_File_ImagesTango_Zip
TXT_FILE_BODY; TXT_FILE_BODY;
Dir = gid_Dir_Share_Config; Dir = gid_Brand_Dir_Share_Config;
Name = "images_tango.zip"; Name = "images_tango.zip";
Styles = (PACKED); Styles = (PACKED);
End End
@ -1285,7 +1285,7 @@ End
File gid_File_Share_Registry_Lingucomponent_Xcd File gid_File_Share_Registry_Lingucomponent_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "lingucomponent.xcd"; Name = "lingucomponent.xcd";
End End

View File

@ -118,7 +118,7 @@ End
File gid_File_Share_Registry_Pyuno_Xcd File gid_File_Share_Registry_Pyuno_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "pyuno.xcd"; Name = "pyuno.xcd";
End End

View File

@ -88,6 +88,6 @@ End
File gid_File_Share_Registry_Writer_Xcd File gid_File_Share_Registry_Writer_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "writer.xcd"; Name = "writer.xcd";
End End

View File

@ -30,7 +30,7 @@
File gid_File_Share_Registry_Xsltfilter_Xcd File gid_File_Share_Registry_Xsltfilter_Xcd
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (PACKED); Styles = (PACKED);
Dir = gid_Dir_Share_Registry; Dir = gid_Brand_Dir_Share_Registry;
Name = "xsltfilter.xcd"; Name = "xsltfilter.xcd";
End End

View File

@ -29,8 +29,6 @@
#Create the folder which contains the temporary user installation #Create the folder which contains the temporary user installation
INSTDIR=`/usr/bin/mktemp -d "/tmp/userinstall.XXXXXX"` INSTDIR=`/usr/bin/mktemp -d "/tmp/userinstall.XXXXXX"`
OOO_BASE_DIR="/opt/openoffice.org/basis${OOOBASEVERSION}"
case "$1" in case "$1" in
'start') 'start')
EXTENSIONDIR=/opt/openoffice.org${OOOBRANDPACKAGEVERSION}/share/extension/install EXTENSIONDIR=/opt/openoffice.org${OOOBRANDPACKAGEVERSION}/share/extension/install
@ -50,7 +48,7 @@ case "$1" in
#list. That is, it has not been installed (with unopkg) yet. #list. That is, it has not been installed (with unopkg) yet.
#Therefore we do it now. #Therefore we do it now.
echo installing $FILE echo installing $FILE
/opt/openoffice.org${OOOBRANDPACKAGEVERSION}/program/unopkg add --shared --bundled "$FILE" '-env:UserInstallation=file://$INSTDIR' '-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml' '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1' /opt/openoffice.org${OOOBRANDPACKAGEVERSION}/program/unopkg add --shared --bundled "$FILE" '-env:UserInstallation=file://$INSTDIR' '-env:UNO_JAVA_JFW_INSTALL_DATA=/opt/openoffice.org/share/config/javasettingsunopkginstall.xml' '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
#Let us remember that this extensions has been installed #Let us remember that this extensions has been installed
#by adding the path name of the extension to the file #by adding the path name of the extension to the file
#installed #installed
@ -78,7 +76,7 @@ case "$1" in
# #share/extension/install. Now we remove the installed # #share/extension/install. Now we remove the installed
# #extension # #extension
# echo removing `basename $LINE` # echo removing `basename $LINE`
# /opt/openoffice.org${OOOBRANDPACKAGEVERSION}/program/unopkg remove --shared --bundled "`basename $LINE`" '-env:UserInstallation=file://$INSTDIR' '-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml' '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1' # /opt/openoffice.org${OOOBRANDPACKAGEVERSION}/program/unopkg remove --shared --bundled "`basename $LINE`" '-env:UserInstallation=file://$INSTDIR' '-env:UNO_JAVA_JFW_INSTALL_DATA=/opt/openoffice.org/share/config/javasettingsunopkginstall.xml' '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
# REMOVED=1 # REMOVED=1
# else # else
# NEWCONTENT+=$LINE # NEWCONTENT+=$LINE

View File

@ -3146,10 +3146,10 @@
<value>true</value> <value>true</value>
</prop> </prop>
<prop oor:name="TransitionFiles" oor:type="oor:string-list"> <prop oor:name="TransitionFiles" oor:type="oor:string-list">
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value> <value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value>
</prop> </prop>
<prop oor:name="EffectFiles" oor:type="oor:string-list"> <prop oor:name="EffectFiles" oor:type="oor:string-list">
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/effects.xml</value> <value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/effects.xml</value>
</prop> </prop>
<prop oor:name="PreviewNewEffects" oor:type="xs:boolean"> <prop oor:name="PreviewNewEffects" oor:type="xs:boolean">
<value>true</value> <value>true</value>

View File

@ -1688,7 +1688,7 @@ static bool AddLocalTempFontDirs( void )
return false; return false;
bFirst = false; bFirst = false;
// add private font files found in brand and base layer // add private font files
rtl::OUString aBrandStr( RTL_CONSTASCII_USTRINGPARAM( "$BRAND_BASE_DIR" ) ); rtl::OUString aBrandStr( RTL_CONSTASCII_USTRINGPARAM( "$BRAND_BASE_DIR" ) );
rtl_bootstrap_expandMacros( &aBrandStr.pData ); rtl_bootstrap_expandMacros( &aBrandStr.pData );
@ -1698,19 +1698,7 @@ static bool AddLocalTempFontDirs( void )
rtl::OStringBuffer aBrandFontDir( aBrandSysPath.getLength()*2 ); rtl::OStringBuffer aBrandFontDir( aBrandSysPath.getLength()*2 );
aBrandFontDir.append( rtl::OUStringToOString( aBrandSysPath, RTL_TEXTENCODING_UTF8 ) ); aBrandFontDir.append( rtl::OUStringToOString( aBrandSysPath, RTL_TEXTENCODING_UTF8 ) );
aBrandFontDir.append( "/share/fonts/truetype/" ); aBrandFontDir.append( "/share/fonts/truetype/" );
bool bBrandSuccess = AddTempFontDir( aBrandFontDir.getStr() ); return AddTempFontDir( aBrandFontDir.getStr() );
rtl::OUString aBaseStr( RTL_CONSTASCII_USTRINGPARAM( "$OOO_BASE_DIR" ) );
rtl_bootstrap_expandMacros( &aBaseStr.pData );
rtl::OUString aBaseSysPath;
OSL_VERIFY( osl_getSystemPathFromFileURL( aBaseStr.pData, &aBaseSysPath.pData ) == osl_File_E_None );
rtl::OStringBuffer aBaseFontDir( aBaseSysPath.getLength()*2 );
aBaseFontDir.append( rtl::OUStringToOString( aBaseSysPath, RTL_TEXTENCODING_UTF8 ) );
aBaseFontDir.append( "/share/fonts/truetype/" );
bool bBaseSuccess = AddTempFontDir( aBaseFontDir.getStr() );
return bBrandSuccess && bBaseSuccess;
} }
void AquaSalGraphics::GetDevFontList( ImplDevFontList* pFontList ) void AquaSalGraphics::GetDevFontList( ImplDevFontList* pFontList )

View File

@ -1471,7 +1471,7 @@ static bool AddLocalTempFontDirs( void )
return false; return false;
bFirst = false; bFirst = false;
// add private font files found in brand and base layer // add private font files
rtl::OUString aBrandStr( RTL_CONSTASCII_USTRINGPARAM( "$BRAND_BASE_DIR" ) ); rtl::OUString aBrandStr( RTL_CONSTASCII_USTRINGPARAM( "$BRAND_BASE_DIR" ) );
rtl_bootstrap_expandMacros( &aBrandStr.pData ); rtl_bootstrap_expandMacros( &aBrandStr.pData );
@ -1483,21 +1483,9 @@ static bool AddLocalTempFontDirs( void )
aBrandFontDir.append( "/share/fonts/truetype/" ); aBrandFontDir.append( "/share/fonts/truetype/" );
// iterate font files in that and call CTFontManagerRegisterFontsForURL for them? // iterate font files in that and call CTFontManagerRegisterFontsForURL for them?
bool bBrandSuccess = true; bool bSuccess = true;
rtl::OUString aBaseStr( RTL_CONSTASCII_USTRINGPARAM( "$OOO_BASE_DIR" ) ); return bSuccess;
rtl_bootstrap_expandMacros( &aBaseStr.pData );
rtl::OUString aBaseSysPath;
OSL_VERIFY( osl_getSystemPathFromFileURL( aBaseStr.pData, &aBaseSysPath.pData ) == osl_File_E_None );
rtl::OStringBuffer aBaseFontDir( aBaseSysPath.getLength()*2 );
aBaseFontDir.append( rtl::OUStringToOString( aBaseSysPath, RTL_TEXTENCODING_UTF8 ) );
aBaseFontDir.append( "/share/fonts/truetype/" );
// ditto
bool bBaseSuccess = true;
return bBrandSuccess && bBaseSuccess;
} }
void IosSalGraphics::GetDevFontList( ImplDevFontList* pFontList ) void IosSalGraphics::GetDevFontList( ImplDevFontList* pFontList )

View File

@ -301,7 +301,7 @@ void ImplImageTree::resetZips() {
} }
{ {
rtl::OUString url( rtl::OUString url(
RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/config")); RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
rtl::Bootstrap::expandMacros(url); rtl::Bootstrap::expandMacros(url);
INetURLObject u(url); INetURLObject u(url);
OSL_ASSERT(!u.HasError()); OSL_ASSERT(!u.HasError());
@ -320,7 +320,7 @@ void ImplImageTree::resetZips() {
{ {
rtl::OUString url( rtl::OUString url(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
"$OOO_BASE_DIR/share/config/images.zip")); "$BRAND_BASE_DIR/share/config/images.zip"));
rtl::Bootstrap::expandMacros(url); rtl::Bootstrap::expandMacros(url);
m_zips.push_back( m_zips.push_back(
std::make_pair( std::make_pair(

View File

@ -353,7 +353,7 @@ void ContentProvider::init()
subst( aPath ); subst( aPath );
aImagesZipPaths[ 0 ] = aPath; aImagesZipPaths[ 0 ] = aPath;
aPath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/config")); aPath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
rtl::Bootstrap::expandMacros(aPath); rtl::Bootstrap::expandMacros(aPath);
aImagesZipPaths[ 1 ] = aPath; aImagesZipPaths[ 1 ] = aPath;