summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sfx2/docfilt.hxx3
-rw-r--r--include/sfx2/sfxbasemodel.hxx3
-rw-r--r--include/sfx2/unoctitm.hxx2
-rw-r--r--include/sfx2/userinputinterception.hxx4
-rw-r--r--sfx2/source/appl/shutdownicon.hxx1
-rw-r--r--sfx2/source/bastyp/fltlst.hxx2
-rw-r--r--sfx2/source/control/thumbnailviewacc.hxx2
-rw-r--r--sfx2/source/doc/SfxDocumentMetaData.cxx1
-rw-r--r--sfx2/source/doc/doctemplateslocal.hxx3
-rw-r--r--sfx2/source/doc/iframe.cxx2
-rw-r--r--sfx2/source/doc/ownsubfilterservice.cxx2
-rw-r--r--sfx2/source/inc/macroloader.hxx4
12 files changed, 28 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
diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx
index d3974699de0d..963c343529c5 100644
--- a/sfx2/source/appl/shutdownicon.hxx
+++ b/sfx2/source/appl/shutdownicon.hxx
@@ -113,6 +113,7 @@ class SFX2_DLLPUBLIC ShutdownIcon : public ShutdownIconServiceBase
static bool GetAutostart();
static bool bModalMode;
+ /// @throws css::uno::Exception
void init() throw( css::uno::Exception, std::exception );
OUString GetResString( int id );
diff --git a/sfx2/source/bastyp/fltlst.hxx b/sfx2/source/bastyp/fltlst.hxx
index 656637ddaf7e..8fd5a9af4196 100644
--- a/sfx2/source/bastyp/fltlst.hxx
+++ b/sfx2/source/bastyp/fltlst.hxx
@@ -41,8 +41,10 @@ class SfxFilterListener final
public:
// XRefreshListener
+ /// @throws css::uno::RuntimeException
void SAL_CALL refreshed( const css::lang::EventObject& aSource ) throw( css::uno::RuntimeException, std::exception );
// XEventListener
+ /// @throws css::uno::RuntimeException
void SAL_CALL disposing( const css::lang::EventObject& aSource ) throw( css::uno::RuntimeException );
};
diff --git a/sfx2/source/control/thumbnailviewacc.hxx b/sfx2/source/control/thumbnailviewacc.hxx
index 744970835e28..33eb205187a4 100644
--- a/sfx2/source/control/thumbnailviewacc.hxx
+++ b/sfx2/source/control/thumbnailviewacc.hxx
@@ -153,6 +153,8 @@ private:
state of being disposed). If that is the case then
DisposedException is thrown to inform the (indirect) caller of the
foul deed.
+
+ @throws css::lang::DisposedException
*/
void ThrowIfDisposed()
throw (css::lang::DisposedException);
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx
index db67f94d49ed..82280b1cd027 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -652,6 +652,7 @@ SfxDocumentMetaData::getURLProperties(
// return the text of the (hopefully unique, i.e., normalize first!) text
// node _below_ the given node
+/// @throws css::uno::RuntimeException
OUString SAL_CALL
getNodeText(const css::uno::Reference<css::xml::dom::XNode>& i_xNode)
throw (css::uno::RuntimeException)
diff --git a/sfx2/source/doc/doctemplateslocal.hxx b/sfx2/source/doc/doctemplateslocal.hxx
index 4c8bb09843b9..aa9db5802cf8 100644
--- a/sfx2/source/doc/doctemplateslocal.hxx
+++ b/sfx2/source/doc/doctemplateslocal.hxx
@@ -42,6 +42,7 @@ class DocTemplLocaleHelper : public cppu::WeakImplHelper < css::xml::sax::XDocum
DocTemplLocaleHelper();
std::vector< css::beans::StringPair > const & GetParsingResult();
+ /// @throws css::uno::Exception
static std::vector< css::beans::StringPair > SAL_CALL ReadLocalizationSequence_Impl( const css::uno::Reference< css::io::XInputStream >& xInStream, const OUString& aStringID, const css::uno::Reference< css::uno::XComponentContext >& xContext )
throw( css::uno::Exception );
@@ -49,6 +50,7 @@ public:
virtual ~DocTemplLocaleHelper() override;
// returns sequence of pairs ( GroupName, GroupUIName )
+ /// @throws css::uno::Exception
static
std::vector< css::beans::StringPair >
ReadGroupLocalizationSequence(
@@ -57,6 +59,7 @@ public:
throw( css::uno::Exception );
// writes sequence of elements ( GroupName, GroupUIName )
+ /// @throws css::uno::Exception
static
void SAL_CALL WriteGroupLocalizationSequence(
const css::uno::Reference< css::io::XOutputStream >& xOutStream,
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index 7fd0404925ed..e9c6fe1203e4 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -63,6 +63,8 @@ class IFrameObject : public ::cppu::WeakImplHelper <
SfxFrameDescriptor maFrmDescr;
public:
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
IFrameObject(const css::uno::Reference < css::uno::XComponentContext>& rxContext, const css::uno::Sequence< css::uno::Any >& aArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
diff --git a/sfx2/source/doc/ownsubfilterservice.cxx b/sfx2/source/doc/ownsubfilterservice.cxx
index 94a1b763334c..d92692a62aec 100644
--- a/sfx2/source/doc/ownsubfilterservice.cxx
+++ b/sfx2/source/doc/ownsubfilterservice.cxx
@@ -42,6 +42,8 @@ class OwnSubFilterService : public cppu::WeakImplHelper < document::XFilter
SfxObjectShell* m_pObjectShell;
public:
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
explicit OwnSubFilterService(const css::uno::Sequence< css::uno::Any >& aArguments)
throw (uno::Exception, uno::RuntimeException);
diff --git a/sfx2/source/inc/macroloader.hxx b/sfx2/source/inc/macroloader.hxx
index a4251e2b9d61..f65640891ee5 100644
--- a/sfx2/source/inc/macroloader.hxx
+++ b/sfx2/source/inc/macroloader.hxx
@@ -51,6 +51,8 @@ class SfxMacroLoader : public cppu::WeakImplHelper<
SfxObjectShell* GetObjectShell_Impl();
public:
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
SfxMacroLoader(const css::uno::Sequence< css::uno::Any >& aArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
@@ -63,6 +65,8 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override;
+ /// @throws css::uno::RuntimeException
+ /// @throws css::ucb::ContentCreationException
static ErrCode loadMacro( const OUString& aURL, css::uno::Any& rRetval, SfxObjectShell* pDoc ) throw( css::uno::RuntimeException, css::ucb::ContentCreationException, std::exception );
virtual css::uno::Reference < css::frame::XDispatch > SAL_CALL queryDispatch(