diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:57:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:20 +0100 |
commit | fba7a44ee479540ba65b41ef1e647cdb93c20d14 (patch) | |
tree | 1926722f0707f008df833c30e178a44163953e85 /framework/source/uiconfiguration | |
parent | cbf61ee5652573f7c18065c477598edf1e14156b (diff) |
New loplugin:dynexcspec: Add @throws documentation, framework
Change-Id: I19a4517449be3defe97fe0d78dd1a16b08b79247
Diffstat (limited to 'framework/source/uiconfiguration')
-rw-r--r-- | framework/source/uiconfiguration/imagemanagerimpl.hxx | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.hxx b/framework/source/uiconfiguration/imagemanagerimpl.hxx index ec2cf9bb950e..7b439045b17e 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.hxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.hxx @@ -94,33 +94,62 @@ namespace framework void dispose(); void initialize( const css::uno::Sequence< css::uno::Any >& aArguments ); + /// @throws css::uno::RuntimeException void addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException); // XImageManager + /// @throws css::uno::RuntimeException + /// @throws css::lang::IllegalAccessException void reset() throw (css::uno::RuntimeException, css::lang::IllegalAccessException); + /// @throws css::uno::RuntimeException css::uno::Sequence< OUString > getAllImageNames( ::sal_Int16 nImageType ) throw (css::uno::RuntimeException); + /// @throws css::lang::IllegalArgumentException + /// @throws css::uno::RuntimeException bool hasImage( ::sal_Int16 nImageType, const OUString& aCommandURL ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); + /// @throws css::lang::IllegalArgumentException + /// @throws css::uno::RuntimeException css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > > getImages( ::sal_Int16 nImageType, const css::uno::Sequence< OUString >& aCommandURLSequence ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); + /// @throws css::lang::IllegalArgumentException + /// @throws css::lang::IllegalAccessException + /// @throws css::uno::RuntimeException void replaceImages( ::sal_Int16 nImageType, const css::uno::Sequence< OUString >& aCommandURLSequence, const css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > >& aGraphicsSequence ) throw (css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception); + /// @throws css::lang::IllegalArgumentException + /// @throws css::lang::IllegalAccessException + /// @throws css::uno::RuntimeException void removeImages( ::sal_Int16 nImageType, const css::uno::Sequence< OUString >& aResourceURLSequence ) throw (css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException); + /// @throws css::container::ElementExistException + /// @throws css::lang::IllegalArgumentException + /// @throws css::lang::IllegalAccessException + /// @throws css::uno::RuntimeException void insertImages( ::sal_Int16 nImageType, const css::uno::Sequence< OUString >& aCommandURLSequence, const css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > >& aGraphicSequence ) throw (css::container::ElementExistException, css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException); // XUIConfiguration + /// @throws css::uno::RuntimeException void addConfigurationListener( const css::uno::Reference< css::ui::XUIConfigurationListener >& Listener ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void removeConfigurationListener( const css::uno::Reference< css::ui::XUIConfigurationListener >& Listener ) throw (css::uno::RuntimeException); // XUIConfigurationPersistence + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void reload() throw (css::uno::Exception, css::uno::RuntimeException, std::exception); + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void store() throw (css::uno::Exception, css::uno::RuntimeException, std::exception); + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void storeToStorage( const css::uno::Reference< css::embed::XStorage >& Storage ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException bool isModified() throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException bool isReadOnly() throw (css::uno::RuntimeException); void clear(); |