summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-10 15:52:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-10 16:03:28 +0200
commit6dcb3d4ef46312729bb6f16c473b433474863f68 (patch)
tree58f2f577d9883e32b886bbe4086f83d0bb16fc81 /framework
parentf2f3703740f65b76e891ecc3591d7e60d5b7caef (diff)
Related fdo#51252: No more prereg, no more unopkg sync
Now that 5c47e5f63a79a9e72ec4a100786b1bbf65137ed4 "fdo#51252 Disable copying share/prereg/bundled to avoid startup crashes" removed the use of share/prereg, there is no longer need to generate it in the first place (by calling "unopkg sync" at build or installation time), and so no need for the "unopkg sync" sub- command, either. This also allows to simplify some of the jvmfwk code that was only there so that "unopkg sync" (which can require a JVM) can work in "hostile" environments (during build and installation). Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/substitutepathvars.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index b0a81402aba2..9ac3c21cf87f 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -1171,8 +1171,9 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
::rtl::OUString sVal ;
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.
+ //There can be the valid case that there is no user installation.
+ //TODO: Is that still the case? (With OOo 3.4, "unopkg sync" was run as part
+ // of the setup. Then no user installation was required.)
//Therefore we do not assert here.
if( aState == ::utl::Bootstrap::PATH_EXISTS ) {
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_USERPATH ] = ConvertOSLtoUCBURL( sVal );