diff options
author | obo <obo@openoffice.org> | 2011-03-16 10:11:17 +0100 |
---|---|---|
committer | obo <obo@openoffice.org> | 2011-03-16 10:11:17 +0100 |
commit | 160329d6fb16c593f651fc143f5a8973566c6c22 (patch) | |
tree | 4c86997b65d9e1a5d00d62d110658cc3b8f18a7f /framework | |
parent | b4aafb548412bb91974656a9b0801524b20ab6c9 (diff) | |
parent | 271137c2c5d3bcacdee5cf15b8df9138345316ed (diff) |
CWS-TOOLING: integrate CWS jl164
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 5fde74764eda..b66d21cfe81c 100644..100755 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -1176,12 +1176,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 ]; |