diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2000-10-26 11:41:11 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2000-10-26 11:41:11 +0000 |
commit | 57a6a0c923e205477beca15b70f9e31b7552c99b (patch) | |
tree | 602ba9c929b5f8a0ca50120d0dbc4ad6b93d390d /cpputools | |
parent | fb7b6fc0113962c754a7a4461fdce42b7e21d4cf (diff) |
bugfix: unoexe is capable again to use a readonly and a read/write registry side by side
Diffstat (limited to 'cpputools')
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index 455097d5727d..c24441635e64 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoexe.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jbu $ $Date: 2000-10-13 10:47:26 $ + * last change: $Author: jbu $ $Date: 2000-10-26 12:41:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -769,14 +769,11 @@ extern "C" int SAL_CALL main( int argc, const char * argv[] ) if (xNewReg.is()) xRegistry = (xRegistry.is() ? nestRegistries( xMgr, xNewReg, xRegistry ) : xNewReg); } - if (! nReadOnly) // todo - { // ReadWrite registry Reference< XSimpleRegistry > xNewReg( openRegistry( xMgr, aRegistries[nPos], sal_False, sal_True ) ); if (xNewReg.is()) xRegistry = (xRegistry.is() ? nestRegistries( xMgr, xNewReg, xRegistry ) : xNewReg); - } } // init service manager with registry |