diff options
author | Joachim Lingner <jl@openoffice.org> | 2011-03-03 17:01:11 +0100 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2011-03-03 17:01:11 +0100 |
commit | 271137c2c5d3bcacdee5cf15b8df9138345316ed (patch) | |
tree | 6ce5d6622f8b3d5d3d637051ba52e21ff0a6d41f /framework | |
parent | 9d42fad78d95f71c468f4ce874bd529e17225c1b (diff) |
#i117186# call unopkg sync when building type installed or archive with the proper arguments, remove assertion from framework for the case that there is no user installation.
Diffstat (limited to 'framework')
-rwxr-xr-x[-rw-r--r--] | framework/source/services/substitutepathvars.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index 90c460b74298..7db60eb9dede 100644..100755 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -1170,12 +1170,12 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable } 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. + //Therefore we do not assert here. if( aState == ::utl::Bootstrap::PATH_EXISTS ) { aPreDefPathVariables.m_FixedVar[ PREDEFVAR_USERPATH ] = ConvertOSLtoUCBURL( sVal ); } - else { - LOG_ERROR( "SubstitutePathVariables::SetPredefinedPathVariables", "Bootstrap code has no value for userpath"); - } // Set $(inst), $(instpath), $(insturl) aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTURL ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ]; |