Undo basis/brand split: move program/{addin,filter,plugin} from basis to brand.
And let $(prog), $(progpath), $(progurl) point to brand program/ instead of basis program/.
This commit is contained in:
parent
d34a819233
commit
d0a0513a9c
2 changed files with 5 additions and 10 deletions
|
@ -1186,12 +1186,6 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
|
|||
::utl::Bootstrap::PathStatus aState;
|
||||
::rtl::OUString sVal ;
|
||||
|
||||
rtl::OUString basis(RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR"));
|
||||
rtl::Bootstrap::expandMacros(basis);
|
||||
if( basis.isEmpty() ) {
|
||||
LOG_ERROR( "SubstitutePathVariables::SetPredefinedPathVariables", "Bootstrap code has no value for OOO_BASE_DIR!");
|
||||
}
|
||||
|
||||
aState = utl::Bootstrap::locateUserData( sVal );
|
||||
//There can be the valid case that there is no user installation. For example, "unopkg sync"
|
||||
//is currently (OOo3.4) run as part of the setup. Then no user installation is required.
|
||||
|
@ -1215,7 +1209,8 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
|
|||
|
||||
// Detect the program directory
|
||||
// Set $(prog), $(progpath), $(progurl)
|
||||
INetURLObject aProgObj( basis );
|
||||
INetURLObject aProgObj(
|
||||
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL] );
|
||||
if ( !aProgObj.HasError() && aProgObj.insertName( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("program")) ) )
|
||||
{
|
||||
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_PROGPATH ] = aProgObj.GetMainURL(INetURLObject::NO_DECODE);
|
||||
|
|
|
@ -127,7 +127,7 @@ End
|
|||
|
||||
Directory gid_Dir_Addin
|
||||
Styles = (CREATE);
|
||||
ParentID = gid_Dir_Program;
|
||||
ParentID = gid_Brand_Dir_Program;
|
||||
DosName = "addin";
|
||||
End
|
||||
|
||||
|
@ -137,7 +137,7 @@ Directory gid_Dir_Addin_Source
|
|||
End
|
||||
|
||||
Directory gid_Dir_Filter
|
||||
ParentID = gid_Dir_Program;
|
||||
ParentID = gid_Brand_Dir_Program;
|
||||
DosName = "filter";
|
||||
End
|
||||
|
||||
|
@ -344,7 +344,7 @@ Directory gid_Dir_Work
|
|||
End
|
||||
|
||||
Directory gid_Dir_Plugin
|
||||
ParentID = gid_Dir_Program;
|
||||
ParentID = gid_Brand_Dir_Program;
|
||||
DosName = "plugin";
|
||||
Styles = (WORKSTATION, CREATE);
|
||||
End
|
||||
|
|
Loading…
Reference in a new issue