summaryrefslogtreecommitdiff
path: root/framework/source/uiconfiguration/imagemanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uiconfiguration/imagemanager.cxx')
-rw-r--r--framework/source/uiconfiguration/imagemanager.cxx34
1 files changed, 5 insertions, 29 deletions
diff --git a/framework/source/uiconfiguration/imagemanager.cxx b/framework/source/uiconfiguration/imagemanager.cxx
index 045529ba03b4..00519550bfe5 100644
--- a/framework/source/uiconfiguration/imagemanager.cxx
+++ b/framework/source/uiconfiguration/imagemanager.cxx
@@ -66,17 +66,17 @@ ImageManager::~ImageManager()
}
// XComponent
-void SAL_CALL ImageManager::dispose() throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL ImageManager::dispose()
{
m_pImpl->dispose();
}
-void SAL_CALL ImageManager::addEventListener( const uno::Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL ImageManager::addEventListener( const uno::Reference< XEventListener >& xListener )
{
m_pImpl->addEventListener(xListener);
}
-void SAL_CALL ImageManager::removeEventListener( const uno::Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL ImageManager::removeEventListener( const uno::Reference< XEventListener >& xListener )
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_pImpl->removeEventListener(xListener);
@@ -84,7 +84,6 @@ void SAL_CALL ImageManager::removeEventListener( const uno::Reference< XEventLis
// Non-UNO methods
void ImageManager::setStorage( const uno::Reference< XStorage >& Storage )
-throw (css::uno::RuntimeException)
{
SolarMutexGuard g;
@@ -93,29 +92,24 @@ throw (css::uno::RuntimeException)
}
// XInitialization
-void SAL_CALL ImageManager::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException, std::exception )
+void SAL_CALL ImageManager::initialize( const Sequence< Any >& aArguments )
{
m_pImpl->initialize(aArguments);
}
// XImageManager
void SAL_CALL ImageManager::reset()
- throw (css::lang::IllegalAccessException,
- css::uno::RuntimeException,
- std::exception)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_pImpl->reset();
}
Sequence< OUString > SAL_CALL ImageManager::getAllImageNames( ::sal_Int16 nImageType )
-throw (css::uno::RuntimeException, std::exception)
{
return m_pImpl->getAllImageNames( nImageType );
}
sal_Bool SAL_CALL ImageManager::hasImage( ::sal_Int16 nImageType, const OUString& aCommandURL )
-throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
return m_pImpl->hasImage(nImageType,aCommandURL);
}
@@ -123,7 +117,6 @@ throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exc
Sequence< uno::Reference< XGraphic > > SAL_CALL ImageManager::getImages(
::sal_Int16 nImageType,
const Sequence< OUString >& aCommandURLSequence )
-throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception )
{
return m_pImpl->getImages(nImageType,aCommandURLSequence);
}
@@ -132,39 +125,27 @@ void SAL_CALL ImageManager::replaceImages(
::sal_Int16 nImageType,
const Sequence< OUString >& aCommandURLSequence,
const Sequence< uno::Reference< XGraphic > >& aGraphicsSequence )
-throw ( css::lang::IllegalArgumentException,
- css::lang::IllegalAccessException,
- css::uno::RuntimeException, std::exception)
{
m_pImpl->replaceImages(nImageType,aCommandURLSequence,aGraphicsSequence);
}
void SAL_CALL ImageManager::removeImages( ::sal_Int16 nImageType, const Sequence< OUString >& aCommandURLSequence )
-throw ( css::lang::IllegalArgumentException,
- css::lang::IllegalAccessException,
- css::uno::RuntimeException, std::exception)
{
m_pImpl->removeImages(nImageType,aCommandURLSequence);
}
void SAL_CALL ImageManager::insertImages( ::sal_Int16 nImageType, const Sequence< OUString >& aCommandURLSequence, const Sequence< uno::Reference< XGraphic > >& aGraphicSequence )
-throw ( css::container::ElementExistException,
- css::lang::IllegalArgumentException,
- css::lang::IllegalAccessException,
- css::uno::RuntimeException, std::exception)
{
m_pImpl->insertImages(nImageType,aCommandURLSequence,aGraphicSequence);
}
// XUIConfiguration
void SAL_CALL ImageManager::addConfigurationListener( const uno::Reference< css::ui::XUIConfigurationListener >& xListener )
-throw (css::uno::RuntimeException, std::exception)
{
m_pImpl->addConfigurationListener(xListener);
}
void SAL_CALL ImageManager::removeConfigurationListener( const uno::Reference< css::ui::XUIConfigurationListener >& xListener )
-throw (css::uno::RuntimeException, std::exception)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_pImpl->removeConfigurationListener(xListener);
@@ -172,31 +153,26 @@ throw (css::uno::RuntimeException, std::exception)
// XUIConfigurationPersistence
void SAL_CALL ImageManager::reload()
-throw ( css::uno::Exception,
- css::uno::RuntimeException, std::exception )
{
m_pImpl->reload();
}
void SAL_CALL ImageManager::store()
-throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
m_pImpl->store();
}
void SAL_CALL ImageManager::storeToStorage( const uno::Reference< XStorage >& Storage )
-throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
m_pImpl->storeToStorage(Storage);
}
sal_Bool SAL_CALL ImageManager::isModified()
-throw (css::uno::RuntimeException, std::exception)
{
return m_pImpl->isModified();
}
-sal_Bool SAL_CALL ImageManager::isReadOnly() throw (css::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ImageManager::isReadOnly()
{
return m_pImpl->isReadOnly();
}