summaryrefslogtreecommitdiff
path: root/extensions/source/plugin
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-06-12 08:02:29 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-06-12 08:02:29 +0000
commit6c5912daa6820c3c38625394f6ed6f05c5a66a43 (patch)
tree3adeb36c9fa351e1fd8e4440a3877bc29ddd8c20 /extensions/source/plugin
parenta342614bd9fb5ce655163e937f07a3891e3a9978 (diff)
MUST: protect creation of content by try/catch
Diffstat (limited to 'extensions/source/plugin')
-rw-r--r--extensions/source/plugin/base/xplugin.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx
index 429f9ce5028b..73a3378f415b 100644
--- a/extensions/source/plugin/base/xplugin.cxx
+++ b/extensions/source/plugin/base/xplugin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xplugin.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: th $ $Date: 2001-05-11 10:22:05 $
+ * last change: $Author: pl $ $Date: 2001-06-12 09:02:29 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -805,16 +805,16 @@ void PluginInputStream::load()
strlen( getStream()->url ),
RTL_TEXTENCODING_MS_1252
) );
- m_pContent =
- new ::ucb::Content(
- aUrl.GetMainURL(),
- Reference< ::com::sun::star::ucb::XCommandEnvironment >()
- );
try
{
+ m_pContent =
+ new ::ucb::Content(
+ aUrl.GetMainURL(),
+ Reference< ::com::sun::star::ucb::XCommandEnvironment >()
+ );
m_pContent->openStream( static_cast< XOutputStream* >( this ) );
}
- catch( ::com::sun::star::ucb::CommandAbortedException )
+ catch( ::com::sun::star::uno::Exception )
{
}
}