summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-22 07:37:42 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-22 07:37:42 +0000
commit79bf12e847de49c97293c960600db03adc877acc (patch)
tree024275c4cfefe71d50d104fac5fdb9e878e61c45 /framework
parent0b92be6cdc4e5c3e08a785ae378d244c090d3025 (diff)
INTEGRATION: CWS os9 (1.3.8); FILE MERGED
2003/05/06 12:59:20 as 1.3.8.1: #107420# implement support for XCloseable/XComponent
Diffstat (limited to 'framework')
-rw-r--r--framework/source/jobs/jobdispatch.cxx72
1 files changed, 5 insertions, 67 deletions
diff --git a/framework/source/jobs/jobdispatch.cxx b/framework/source/jobs/jobdispatch.cxx
index 9ab5d29ff292..8fb31993bab5 100644
--- a/framework/source/jobs/jobdispatch.cxx
+++ b/framework/source/jobs/jobdispatch.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: jobdispatch.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2003-04-04 17:17:01 $
+ * last change: $Author: vg $ $Date: 2003-05-22 08:37:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -397,27 +397,7 @@ void JobDispatch::impl_dispatchEvent( /*IN*/ const ::rtl::OUString&
// Otherwhise the listener may will ignore it.
if (xListener.is())
pJob->setDispatchResultFake(xListener, xThis);
- try
- {
- pJob->execute(Converter::convert_seqPropVal2seqNamedVal(lArgs));
- }
-#ifdef ENABLE_WARNINGS
- catch(const css::uno::Exception& exAny)
- {
- LOG_EXCEPTION("JobDispatch::impl_dispatchEvent()", "catched on execute job", exAny.Message)
-#else
- catch(const css::uno::Exception&)
- {
-#endif // ENABLE_WARNINGS
- if (xListener.is())
- {
- css::frame::DispatchResultEvent aEvent;
- aEvent.Source = xThis;
- aEvent.State = css::frame::DispatchResultState::FAILURE;
- xListener->dispatchFinished(aEvent);
- return;
- }
- }
+ pJob->execute(Converter::convert_seqPropVal2seqNamedVal(lArgs));
}
}
@@ -470,28 +450,7 @@ void JobDispatch::impl_dispatchService( /*IN*/ const ::rtl::OUString&
// Otherwhise the listener may will ignore it.
if (xListener.is())
pJob->setDispatchResultFake(xListener, xThis);
-
- try
- {
- pJob->execute(Converter::convert_seqPropVal2seqNamedVal(lArgs));
- }
-#ifdef ENABLE_WARNINGS
- catch(const css::uno::Exception& exAny)
- {
- LOG_EXCEPTION("JobDispatch::impl_dispatchService()", "catched on execute job", exAny.Message)
-#else
- catch(const css::uno::Exception&)
- {
-#endif // ENABLE_WARNINGS
- if (xListener.is())
- {
- css::frame::DispatchResultEvent aEvent;
- aEvent.Source = xThis;
- aEvent.State = css::frame::DispatchResultState::FAILURE;
- xListener->dispatchFinished(aEvent);
- return;
- }
- }
+ pJob->execute(Converter::convert_seqPropVal2seqNamedVal(lArgs));
}
//________________________________
@@ -542,28 +501,7 @@ void JobDispatch::impl_dispatchAlias( /*IN*/ const ::rtl::OUString&
// Otherwhise the listener may will ignore it.
if (xListener.is())
pJob->setDispatchResultFake(xListener, xThis);
-
- try
- {
- pJob->execute(Converter::convert_seqPropVal2seqNamedVal(lArgs));
- }
-#ifdef ENABLE_WARNINGS
- catch(const css::uno::Exception& exAny)
- {
- LOG_EXCEPTION("JobDispatch::impl_dispatchAlias()", "catched on execute job", exAny.Message)
-#else
- catch(const css::uno::Exception&)
- {
-#endif // ENABLE_WARNINGS
- if (xListener.is())
- {
- css::frame::DispatchResultEvent aEvent;
- aEvent.Source = xThis;
- aEvent.State = css::frame::DispatchResultState::FAILURE;
- xListener->dispatchFinished(aEvent);
- return;
- }
- }
+ pJob->execute(Converter::convert_seqPropVal2seqNamedVal(lArgs));
}
//________________________________