[Libreoffice-commits] .: Branch 'libreoffice-3-6' - scripting/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 5 04:54:05 PST 2012
scripting/source/provider/ProviderCache.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 66c9cf4cb74b09df29cfd7b4e087dba3c3a0b372
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Oct 30 09:55:11 2012 +0000
squeeze all Exceptions through RuntimeException for exception sig
This appears to fix an unexpected exception termination in
--enable-dbgutil when no JVM is available, see fdo#57553.
(cherry picked from commit b6b71d74fddca5e260ab2a3d6307603f5b469108)
Change-Id: I50377a12c2baadf48767e1d4c265417d3c8ab765
Signed-off-by: Michael Stahl <mstahl at redhat.com>
diff --git a/scripting/source/provider/ProviderCache.cxx b/scripting/source/provider/ProviderCache.cxx
index 43fb05a..2d72994 100644
--- a/scripting/source/provider/ProviderCache.cxx
+++ b/scripting/source/provider/ProviderCache.cxx
@@ -198,7 +198,7 @@ ProviderCache::createProvider( ProviderDetails& details ) throw ( RuntimeExcepti
details.provider.set(
details.factory->createInstanceWithArgumentsAndContext( m_Sctx, m_xContext ), UNO_QUERY_THROW );
}
- catch ( const RuntimeException& e )
+ catch ( const Exception& e )
{
::rtl::OUString temp("ProviderCache::createProvider() Error creating provider from factory!!!\n");
throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() );
More information about the Libreoffice-commits
mailing list