diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:51:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:14 +0100 |
commit | 5fb6c73d3037d9f860212ecb06b99fdc34bb6dcc (patch) | |
tree | 6dd0597909385e6cabfdc6fa9b6203458f8d8689 /include | |
parent | 5ad3a737e0ec43ca41bc8353cd0897d882204d32 (diff) |
New loplugin:dynexcspec: Add @throws documentation, sfx2
Change-Id: I6568efb53c0904c58bcb648777b84471e5b4b501
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/docfilt.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/sfxbasemodel.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/unoctitm.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/userinputinterception.hxx | 4 |
4 files changed, 11 insertions, 1 deletions
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx index 0a68d80e9243..d00c1d193753 100644 --- a/include/sfx2/docfilt.hxx +++ b/include/sfx2/docfilt.hxx @@ -111,6 +111,9 @@ public: static std::shared_ptr<const SfxFilter> GetDefaultFilterFromFactory( const OUString& rServiceName ); static OUString GetTypeFromStorage( const SotStorage& rStg ); + /// @throws css::beans::UnknownPropertyException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException static OUString GetTypeFromStorage( const css::uno::Reference<css::embed::XStorage>& xStorage, bool bTemplate = false ) diff --git a/include/sfx2/sfxbasemodel.hxx b/include/sfx2/sfxbasemodel.hxx index 470dd909bbf6..cc097c66014b 100644 --- a/include/sfx2/sfxbasemodel.hxx +++ b/include/sfx2/sfxbasemodel.hxx @@ -788,6 +788,7 @@ public: virtual sal_Bool SAL_CALL canCancelCheckOut( ) throw ( css::uno::RuntimeException, std::exception ) override; virtual sal_Bool SAL_CALL canCheckIn( ) throw ( css::uno::RuntimeException, std::exception ) override; + /// @throws css::uno::RuntimeException bool getBoolPropertyValue( const OUString& rName ) throw ( css::uno::RuntimeException ); @@ -837,7 +838,7 @@ protected: private: - + /// @throws css::uno::RuntimeException css::uno::Reference< css::ui::XUIConfigurationManager2 > getUIConfigurationManager2() throw ( css::uno::RuntimeException ); bool impl_getPrintHelper(); SAL_DLLPRIVATE void ListenForStorage_Impl( const css::uno::Reference< css::embed::XStorage >& xStorage ); diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx index aea822037fac..2ca48340dc81 100644 --- a/include/sfx2/unoctitm.hxx +++ b/include/sfx2/unoctitm.hxx @@ -141,10 +141,12 @@ public: void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState, SfxSlotServer* pServ ); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) override; void setMasterSlaveCommand( bool bSet ); + /// @throws css::uno::RuntimeException void SAL_CALL dispatch( const css::util::URL& aURL, const css::uno::Sequence< css::beans::PropertyValue >& aArgs, const css::uno::Reference< css::frame::XDispatchResultListener >& rListener ) throw (css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > & xControl, const css::util::URL& aURL) throw( css::uno::RuntimeException ); void UnBindController(); SfxDispatcher* GetDispatcher(); diff --git a/include/sfx2/userinputinterception.hxx b/include/sfx2/userinputinterception.hxx index 737e5330802e..00db6f1d06eb 100644 --- a/include/sfx2/userinputinterception.hxx +++ b/include/sfx2/userinputinterception.hxx @@ -50,9 +50,13 @@ namespace sfx2 UserInputInterception& operator=( const UserInputInterception& ) = delete; // delegator functions for your XUserInputInterception implementation + /// @throws css::uno::RuntimeException void addKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void removeKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void addMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void removeMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException); // state |