From 0096afd9fe43b37135058fa13ffa80bf44ae0ad8 Mon Sep 17 00:00:00 2001 From: Juergen Schmidt Date: Mon, 2 Apr 2001 13:06:21 +0000 Subject: [PATCH] #85248# close and reopen temporary registry for java in getImplementations --- stoc/source/implementationregistration/implreg.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx index d58aa9cbefcb..e6dd519d5140 100644 --- a/stoc/source/implementationregistration/implreg.cxx +++ b/stoc/source/implementationregistration/implreg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: implreg.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: jsc $ $Date: 2001-03-16 16:30:34 $ + * last change: $Author: jsc $ $Date: 2001-04-02 14:06:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1496,12 +1496,18 @@ Sequence< OUString > ImplementationRegistration::getImplementations( } xImpl->closeKey(); + // close and reopen is necessary for java + xReg->close(); + xReg->open(aTempName, sal_False, sal_True); xReg->destroy(); return seqImpl; } } xImpl->closeKey(); + // close and reopen is necessary for java + xReg->close(); + xReg->open(aTempName, sal_False, sal_True); xReg->destroy(); } catch(MergeConflictException&)