summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/macroloader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/macroloader.cxx')
-rw-r--r--sfx2/source/appl/macroloader.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/sfx2/source/appl/macroloader.cxx b/sfx2/source/appl/macroloader.cxx
index 92ecab7313c7..19737c90b22a 100644
--- a/sfx2/source/appl/macroloader.cxx
+++ b/sfx2/source/appl/macroloader.cxx
@@ -48,7 +48,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
SfxMacroLoader::SfxMacroLoader(const css::uno::Sequence< css::uno::Any >& aArguments)
- throw (css::uno::Exception, css::uno::RuntimeException)
{
Reference < XFrame > xFrame;
if ( aArguments.getLength() )
@@ -59,19 +58,16 @@ SfxMacroLoader::SfxMacroLoader(const css::uno::Sequence< css::uno::Any >& aArgum
}
OUString SAL_CALL SfxMacroLoader::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("com.sun.star.comp.sfx2.SfxMacroLoader");
}
sal_Bool SAL_CALL SfxMacroLoader::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
css::uno::Sequence<OUString> SAL_CALL SfxMacroLoader::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.ProtocolHandler" };
return aSeq;
@@ -101,7 +97,7 @@ SfxObjectShell* SfxMacroLoader::GetObjectShell_Impl()
uno::Reference<frame::XDispatch> SAL_CALL SfxMacroLoader::queryDispatch(
const util::URL& aURL ,
const OUString& /*sTargetFrameName*/,
- sal_Int32 /*nSearchFlags*/ ) throw( uno::RuntimeException, std::exception )
+ sal_Int32 /*nSearchFlags*/ )
{
uno::Reference<frame::XDispatch> xDispatcher;
if(aURL.Complete.startsWith("macro:"))
@@ -112,7 +108,6 @@ uno::Reference<frame::XDispatch> SAL_CALL SfxMacroLoader::queryDispatch(
uno::Sequence< uno::Reference<frame::XDispatch> > SAL_CALL
SfxMacroLoader::queryDispatches( const uno::Sequence < frame::DispatchDescriptor >& seqDescriptor )
- throw( uno::RuntimeException, std::exception )
{
sal_Int32 nCount = seqDescriptor.getLength();
uno::Sequence< uno::Reference<frame::XDispatch> > lDispatcher(nCount);
@@ -127,7 +122,6 @@ uno::Sequence< uno::Reference<frame::XDispatch> > SAL_CALL
void SAL_CALL SfxMacroLoader::dispatchWithNotification(
const util::URL& aURL, const uno::Sequence<beans::PropertyValue>& /*lArgs*/,
const uno::Reference<frame::XDispatchResultListener>& xListener )
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -151,7 +145,6 @@ void SAL_CALL SfxMacroLoader::dispatchWithNotification(
uno::Any SAL_CALL SfxMacroLoader::dispatchWithReturnValue(
const util::URL& aURL, const uno::Sequence<beans::PropertyValue>& )
- throw (uno::RuntimeException, std::exception)
{
uno::Any aRet;
loadMacro( aURL.Complete, aRet, GetObjectShell_Impl() );
@@ -160,7 +153,6 @@ uno::Any SAL_CALL SfxMacroLoader::dispatchWithReturnValue(
void SAL_CALL SfxMacroLoader::dispatch(
const util::URL& aURL, const uno::Sequence<beans::PropertyValue>& /*lArgs*/ )
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -171,7 +163,6 @@ void SAL_CALL SfxMacroLoader::dispatch(
void SAL_CALL SfxMacroLoader::addStatusListener(
const uno::Reference< frame::XStatusListener >& ,
const util::URL& )
- throw (uno::RuntimeException, std::exception)
{
/* TODO
How we can handle different listener for further coming or currently running dispatch() jobs
@@ -183,12 +174,10 @@ void SAL_CALL SfxMacroLoader::addStatusListener(
void SAL_CALL SfxMacroLoader::removeStatusListener(
const uno::Reference< frame::XStatusListener >&,
const util::URL& )
- throw (uno::RuntimeException, std::exception)
{
}
ErrCode SfxMacroLoader::loadMacro( const OUString& rURL, css::uno::Any& rRetval, SfxObjectShell* pSh )
- throw ( ucb::ContentCreationException, uno::RuntimeException, std::exception )
{
#if !HAVE_FEATURE_SCRIPTING
(void) rURL;