summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-01 16:19:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-02 08:18:57 +0200
commit38ee6b2ad540c0d5cc0182396787d4c7625ea064 (patch)
tree9980898ba49c225d0a851a60bf97d276e07f4220 /winaccessibility
parent4d45df2632dddde3d8e34315c8ee76575587a62a (diff)
-Werror,-Wmicrosoft-exception-spec (clang-cl)
No idea why that started to show up now, but C:/Program Files (x86)/Windows Kits/10/Include/10.0.17763.0/um/combaseapi.h contains > #define STDMETHOD(method) virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE method while C:/Program Files (x86)/Windows Kits/10/Include/10.0.17763.0/um/winnt.h contains > #define STDMETHODIMP HRESULT STDMETHODCALLTYPE which caused failures like > [build CXX] embedserv/source/inprocserv/dllentry.cxx > embedserv/source/inprocserv/dllentry.cxx(261,40): error: 'QueryInterface' is missing exception specification '__attribute__((nothrow))' [-Werror,-Wmicrosoft-exception-spec] > STDMETHODIMP InprocEmbedProvider_Impl::QueryInterface( REFIID riid, void ** ppv ) > ^ > embedserv/source/inprocserv/dllentry.cxx(143,15): note: previous declaration is here > STDMETHOD(QueryInterface)(REFIID riid, void ** ppvObj) override; > ^ Change-Id: I0fe3554c2da4089bf0f883e1132d6f2ee95ae2c3 Reviewed-on: https://gerrit.libreoffice.org/79970 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/UAccCOM/AccAction.cxx14
-rw-r--r--winaccessibility/source/UAccCOM/AccActionBase.cxx14
-rw-r--r--winaccessibility/source/UAccCOM/AccComponent.cxx6
-rw-r--r--winaccessibility/source/UAccCOM/AccComponentBase.cxx12
-rw-r--r--winaccessibility/source/UAccCOM/AccEditableText.cxx16
-rw-r--r--winaccessibility/source/UAccCOM/AccHyperLink.cxx26
-rw-r--r--winaccessibility/source/UAccCOM/AccHypertext.cxx46
-rw-r--r--winaccessibility/source/UAccCOM/AccImage.cxx8
-rw-r--r--winaccessibility/source/UAccCOM/AccRelation.cxx12
-rw-r--r--winaccessibility/source/UAccCOM/AccTable.cxx60
-rw-r--r--winaccessibility/source/UAccCOM/AccText.cxx38
-rw-r--r--winaccessibility/source/UAccCOM/AccTextBase.cxx42
-rw-r--r--winaccessibility/source/UAccCOM/AccValue.cxx10
-rw-r--r--winaccessibility/source/UAccCOM/EnumVariant.cxx2
-rw-r--r--winaccessibility/source/UAccCOM/MAccessible.cxx128
-rw-r--r--winaccessibility/source/UAccCOM/UNOXWrapper.cxx4
16 files changed, 219 insertions, 219 deletions
diff --git a/winaccessibility/source/UAccCOM/AccAction.cxx b/winaccessibility/source/UAccCOM/AccAction.cxx
index edc2e464340c..97bfc4f40aed 100644
--- a/winaccessibility/source/UAccCOM/AccAction.cxx
+++ b/winaccessibility/source/UAccCOM/AccAction.cxx
@@ -40,7 +40,7 @@ using namespace com::sun::star::uno;
*
* @param nActions the number of action.
*/
-STDMETHODIMP CAccAction::nActions(/*[out,retval]*/long* nActions)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccAction::nActions(/*[out,retval]*/long* nActions)
{
return CAccActionBase::nActions(nActions);
@@ -51,7 +51,7 @@ STDMETHODIMP CAccAction::nActions(/*[out,retval]*/long* nActions)
*
* @param actionIndex the index of action.
*/
-STDMETHODIMP CAccAction::doAction(/* [in] */ long actionIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccAction::doAction(/* [in] */ long actionIndex)
{
return CAccActionBase::doAction(actionIndex);
@@ -63,19 +63,19 @@ STDMETHODIMP CAccAction::doAction(/* [in] */ long actionIndex)
* @param actionIndex the index of action.
* @param description the description string of the specified action.
*/
-STDMETHODIMP CAccAction::get_description(long actionIndex,BSTR __RPC_FAR *description)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccAction::get_description(long actionIndex,BSTR __RPC_FAR *description)
{
return CAccActionBase::get_description(actionIndex, description);
}
-STDMETHODIMP CAccAction::get_name( long actionIndex, BSTR __RPC_FAR *name)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccAction::get_name( long actionIndex, BSTR __RPC_FAR *name)
{
return CAccActionBase::get_name(actionIndex, name);
}
-STDMETHODIMP CAccAction::get_localizedName( long actionIndex, BSTR __RPC_FAR *localizedName)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccAction::get_localizedName( long actionIndex, BSTR __RPC_FAR *localizedName)
{
return CAccActionBase::get_localizedName(actionIndex, localizedName);
@@ -91,7 +91,7 @@ STDMETHODIMP CAccAction::get_localizedName( long actionIndex, BSTR __RPC_FAR *lo
* @param keyBinding the key binding array.
* @param nBinding the actual number of key binding returned.
*/
-STDMETHODIMP CAccAction::get_keyBinding(
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccAction::get_keyBinding(
/* [in] */ long actionIndex,
/* [in] */ long nMaxBinding,
/* [length_is][length_is][size_is][size_is][out] */ BSTR __RPC_FAR *__RPC_FAR *keyBinding,
@@ -106,7 +106,7 @@ STDMETHODIMP CAccAction::get_keyBinding(
* @param pXSubInterface XAccessibleHyperlink interface.
* @return Result.
*/
-STDMETHODIMP CAccAction::put_XSubInterface(hyper pXSubInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccAction::put_XSubInterface(hyper pXSubInterface)
{
diff --git a/winaccessibility/source/UAccCOM/AccActionBase.cxx b/winaccessibility/source/UAccCOM/AccActionBase.cxx
index a10dd877eae4..be8a5bfbfe4d 100644
--- a/winaccessibility/source/UAccCOM/AccActionBase.cxx
+++ b/winaccessibility/source/UAccCOM/AccActionBase.cxx
@@ -56,7 +56,7 @@ CAccActionBase::~CAccActionBase()
*
* @param nActions the number of action.
*/
-STDMETHODIMP CAccActionBase::nActions(/*[out,retval]*/long* nActions)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccActionBase::nActions(/*[out,retval]*/long* nActions)
{
SolarMutexGuard g;
@@ -80,7 +80,7 @@ STDMETHODIMP CAccActionBase::nActions(/*[out,retval]*/long* nActions)
*
* @param actionIndex the index of action.
*/
-STDMETHODIMP CAccActionBase::doAction(/* [in] */ long actionIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccActionBase::doAction(/* [in] */ long actionIndex)
{
SolarMutexGuard g;
@@ -101,7 +101,7 @@ STDMETHODIMP CAccActionBase::doAction(/* [in] */ long actionIndex)
* @param actionIndex the index of action.
* @param description the description string of the specified action.
*/
-STDMETHODIMP CAccActionBase::get_description(long actionIndex,BSTR __RPC_FAR *description)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccActionBase::get_description(long actionIndex,BSTR __RPC_FAR *description)
{
SolarMutexGuard g;
@@ -126,12 +126,12 @@ STDMETHODIMP CAccActionBase::get_description(long actionIndex,BSTR __RPC_FAR *de
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CAccActionBase::get_name( long, BSTR __RPC_FAR *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccActionBase::get_name( long, BSTR __RPC_FAR *)
{
return E_NOTIMPL;
}
-STDMETHODIMP CAccActionBase::get_localizedName( long, BSTR __RPC_FAR *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccActionBase::get_localizedName( long, BSTR __RPC_FAR *)
{
return E_NOTIMPL;
}
@@ -146,7 +146,7 @@ STDMETHODIMP CAccActionBase::get_localizedName( long, BSTR __RPC_FAR *)
* @param keyBinding the key binding array.
* @param nBinding the actual number of key binding returned.
*/
-STDMETHODIMP CAccActionBase::get_keyBinding(
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccActionBase::get_keyBinding(
/* [in] */ long actionIndex,
/* [in] */ long,
/* [length_is][length_is][size_is][size_is][out] */ BSTR __RPC_FAR *__RPC_FAR *keyBinding,
@@ -193,7 +193,7 @@ STDMETHODIMP CAccActionBase::get_keyBinding(
*
* @param pXInterface the pointer of UNO interface.
*/
-STDMETHODIMP CAccActionBase::put_XInterface(hyper pXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccActionBase::put_XInterface(hyper pXInterface)
{
// internal IUNOXWrapper - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/AccComponent.cxx b/winaccessibility/source/UAccCOM/AccComponent.cxx
index 3e4f191e03c6..22318751e62d 100644
--- a/winaccessibility/source/UAccCOM/AccComponent.cxx
+++ b/winaccessibility/source/UAccCOM/AccComponent.cxx
@@ -38,7 +38,7 @@
*
* @param Location the upper left corner of the object's bounding box.
*/
-STDMETHODIMP CAccComponent::get_locationInParent(long *x, long *y)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponent::get_locationInParent(long *x, long *y)
{
return CAccComponentBase::get_locationInParent(x,y);
@@ -49,7 +49,7 @@ STDMETHODIMP CAccComponent::get_locationInParent(long *x, long *y)
*
* @param Color the color of foreground.
*/
-STDMETHODIMP CAccComponent::get_foreground(IA2Color * foreground)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponent::get_foreground(IA2Color * foreground)
{
return CAccComponentBase::get_foreground(foreground);
@@ -60,7 +60,7 @@ STDMETHODIMP CAccComponent::get_foreground(IA2Color * foreground)
*
* @param Color the color of background.
*/
-STDMETHODIMP CAccComponent::get_background(IA2Color * background)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponent::get_background(IA2Color * background)
{
return CAccComponentBase::get_background(background);
diff --git a/winaccessibility/source/UAccCOM/AccComponentBase.cxx b/winaccessibility/source/UAccCOM/AccComponentBase.cxx
index e41123ea33e9..ad3b06f79668 100644
--- a/winaccessibility/source/UAccCOM/AccComponentBase.cxx
+++ b/winaccessibility/source/UAccCOM/AccComponentBase.cxx
@@ -44,7 +44,7 @@ CAccComponentBase::~CAccComponentBase()
*
* @param Location the upper left corner of the object's bounding box.
*/
-STDMETHODIMP CAccComponentBase::get_locationInParent(long *x, long *y)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_locationInParent(long *x, long *y)
{
SolarMutexGuard g;
@@ -74,7 +74,7 @@ STDMETHODIMP CAccComponentBase::get_locationInParent(long *x, long *y)
* @param Location the upper left corner of the object's bounding
* box in screen coordinates.
*/
-STDMETHODIMP CAccComponentBase::get_locationOnScreen(long *x, long *y)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_locationOnScreen(long *x, long *y)
{
SolarMutexGuard g;
@@ -103,7 +103,7 @@ STDMETHODIMP CAccComponentBase::get_locationOnScreen(long *x, long *y)
*
* @param success the boolean result to be returned.
*/
-STDMETHODIMP CAccComponentBase::grabFocus(boolean * success)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::grabFocus(boolean * success)
{
SolarMutexGuard g;
@@ -129,7 +129,7 @@ STDMETHODIMP CAccComponentBase::grabFocus(boolean * success)
*
* @param Color the color of foreground.
*/
-STDMETHODIMP CAccComponentBase::get_foreground(IA2Color * foreground)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_foreground(IA2Color * foreground)
{
SolarMutexGuard g;
@@ -154,7 +154,7 @@ STDMETHODIMP CAccComponentBase::get_foreground(IA2Color * foreground)
*
* @param Color the color of background.
*/
-STDMETHODIMP CAccComponentBase::get_background(IA2Color * background)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_background(IA2Color * background)
{
SolarMutexGuard g;
@@ -179,7 +179,7 @@ STDMETHODIMP CAccComponentBase::get_background(IA2Color * background)
*
* @param pXInterface the pointer of UNO interface.
*/
-STDMETHODIMP CAccComponentBase::put_XInterface(hyper pXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::put_XInterface(hyper pXInterface)
{
// internal IUNOXWrapper - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/AccEditableText.cxx b/winaccessibility/source/UAccCOM/AccEditableText.cxx
index 333c6c54ba2e..aa3e8f904a14 100644
--- a/winaccessibility/source/UAccCOM/AccEditableText.cxx
+++ b/winaccessibility/source/UAccCOM/AccEditableText.cxx
@@ -57,7 +57,7 @@ using namespace std;
* @param endOffset the end offset of copying.
* @param success the boolean result to be returned.
*/
-STDMETHODIMP CAccEditableText::copyText(long startOffset, long endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccEditableText::copyText(long startOffset, long endOffset)
{
SolarMutexGuard g;
@@ -84,7 +84,7 @@ STDMETHODIMP CAccEditableText::copyText(long startOffset, long endOffset)
* @param endOffset the end offset of deleting.
* @param success the boolean result to be returned.
*/
-STDMETHODIMP CAccEditableText::deleteText(long startOffset, long endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccEditableText::deleteText(long startOffset, long endOffset)
{
SolarMutexGuard g;
@@ -108,7 +108,7 @@ STDMETHODIMP CAccEditableText::deleteText(long startOffset, long endOffset)
* @param text the text to be inserted.
* @param success the boolean result to be returned.
*/
-STDMETHODIMP CAccEditableText::insertText(long offset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccEditableText::insertText(long offset, BSTR * text)
{
SolarMutexGuard g;
@@ -137,7 +137,7 @@ STDMETHODIMP CAccEditableText::insertText(long offset, BSTR * text)
* @param endOffset the end offset of cutting.
* @param success the boolean result to be returned.
*/
-STDMETHODIMP CAccEditableText::cutText(long startOffset, long endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccEditableText::cutText(long startOffset, long endOffset)
{
SolarMutexGuard g;
@@ -160,7 +160,7 @@ STDMETHODIMP CAccEditableText::cutText(long startOffset, long endOffset)
* @param offset the offset of pasting.
* @param success the boolean result to be returned.
*/
-STDMETHODIMP CAccEditableText::pasteText(long offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccEditableText::pasteText(long offset)
{
SolarMutexGuard g;
@@ -185,7 +185,7 @@ STDMETHODIMP CAccEditableText::pasteText(long offset)
* @param text the replacing text.
* @param success the boolean result to be returned.
*/
-STDMETHODIMP CAccEditableText::replaceText(long startOffset, long endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccEditableText::replaceText(long startOffset, long endOffset, BSTR * text)
{
SolarMutexGuard g;
@@ -214,7 +214,7 @@ STDMETHODIMP CAccEditableText::replaceText(long startOffset, long endOffset, BST
* @param attributes the attribute text.
* @param success the boolean result to be returned.
*/
-STDMETHODIMP CAccEditableText::setAttributes(long startOffset, long endOffset, BSTR * attributes)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccEditableText::setAttributes(long startOffset, long endOffset, BSTR * attributes)
{
SolarMutexGuard g;
@@ -476,7 +476,7 @@ void CAccEditableText::get_AnyFromOLECHAR(const OUString &ouName, const OUString
*
* @param pXInterface the pointer of UNO interface.
*/
-STDMETHODIMP CAccEditableText::put_XInterface(hyper pXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccEditableText::put_XInterface(hyper pXInterface)
{
// internal IUNOXWrapper - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/AccHyperLink.cxx b/winaccessibility/source/UAccCOM/AccHyperLink.cxx
index 34f3f9842448..8753753a494a 100644
--- a/winaccessibility/source/UAccCOM/AccHyperLink.cxx
+++ b/winaccessibility/source/UAccCOM/AccHyperLink.cxx
@@ -44,7 +44,7 @@ using namespace com::sun::star::awt;
*
* @param nActions the number of action.
*/
-STDMETHODIMP CAccHyperLink::nActions(/*[out,retval]*/long* nActions)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::nActions(/*[out,retval]*/long* nActions)
{
return CAccActionBase::nActions(nActions);
@@ -55,7 +55,7 @@ STDMETHODIMP CAccHyperLink::nActions(/*[out,retval]*/long* nActions)
*
* @param actionIndex the index of action.
*/
-STDMETHODIMP CAccHyperLink::doAction(/* [in] */ long actionIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::doAction(/* [in] */ long actionIndex)
{
return CAccActionBase::doAction(actionIndex);
@@ -67,19 +67,19 @@ STDMETHODIMP CAccHyperLink::doAction(/* [in] */ long actionIndex)
* @param actionIndex the index of action.
* @param description the description string of the specified action.
*/
-STDMETHODIMP CAccHyperLink::get_description(long actionIndex,BSTR __RPC_FAR *description)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::get_description(long actionIndex,BSTR __RPC_FAR *description)
{
return CAccActionBase::get_description(actionIndex, description);
}
-STDMETHODIMP CAccHyperLink::get_name( long actionIndex, BSTR __RPC_FAR *name)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::get_name( long actionIndex, BSTR __RPC_FAR *name)
{
return CAccActionBase::get_name(actionIndex, name);
}
-STDMETHODIMP CAccHyperLink::get_localizedName( long actionIndex, BSTR __RPC_FAR *localizedName)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::get_localizedName( long actionIndex, BSTR __RPC_FAR *localizedName)
{
return CAccActionBase::get_name(actionIndex, localizedName);
@@ -95,7 +95,7 @@ STDMETHODIMP CAccHyperLink::get_localizedName( long actionIndex, BSTR __RPC_FAR
* @param keyBinding the key binding array.
* @param nBinding the actual number of key binding returned.
*/
-STDMETHODIMP CAccHyperLink::get_keyBinding(
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::get_keyBinding(
/* [in] */ long actionIndex,
/* [in] */ long nMaxBinding,
/* [length_is][length_is][size_is][size_is][out] */ BSTR __RPC_FAR *__RPC_FAR *keyBinding,
@@ -110,7 +110,7 @@ STDMETHODIMP CAccHyperLink::get_keyBinding(
* @param
* @return Result.
*/
-STDMETHODIMP CAccHyperLink::get_anchor(/* [in] */ long index,
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::get_anchor(/* [in] */ long index,
/* [retval][out] */ VARIANT __RPC_FAR *anchor)
{
SolarMutexGuard g;
@@ -142,7 +142,7 @@ STDMETHODIMP CAccHyperLink::get_anchor(/* [in] */ long index,
* @param
* @return Result.
*/
-STDMETHODIMP CAccHyperLink::get_anchorTarget(/* [in] */ long index,
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::get_anchorTarget(/* [in] */ long index,
/* [retval][out] */ VARIANT __RPC_FAR *anchorTarget)
{
SolarMutexGuard g;
@@ -175,7 +175,7 @@ STDMETHODIMP CAccHyperLink::get_anchorTarget(/* [in] */ long index,
* @param index Variant to get start index.
* @return Result.
*/
-STDMETHODIMP CAccHyperLink::get_startIndex(/* [retval][out] */ long __RPC_FAR *index)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::get_startIndex(/* [retval][out] */ long __RPC_FAR *index)
{
SolarMutexGuard g;
@@ -198,7 +198,7 @@ STDMETHODIMP CAccHyperLink::get_startIndex(/* [retval][out] */ long __RPC_FAR *i
* @param index Variant to get end index.
* @return Result.
*/
-STDMETHODIMP CAccHyperLink::get_endIndex(/* [retval][out] */ long __RPC_FAR *index)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::get_endIndex(/* [retval][out] */ long __RPC_FAR *index)
{
SolarMutexGuard g;
@@ -226,7 +226,7 @@ STDMETHODIMP CAccHyperLink::get_endIndex(/* [retval][out] */ long __RPC_FAR *ind
* @param valid Variant to get validity.
* @return Result.
*/
-STDMETHODIMP CAccHyperLink::get_valid(/* [retval][out] */ boolean __RPC_FAR *valid)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::get_valid(/* [retval][out] */ boolean __RPC_FAR *valid)
{
SolarMutexGuard g;
@@ -254,7 +254,7 @@ STDMETHODIMP CAccHyperLink::get_valid(/* [retval][out] */ boolean __RPC_FAR *val
* @param pXInterface XAccessibleContext interface.
* @return Result.
*/
-STDMETHODIMP CAccHyperLink::put_XInterface(hyper pXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::put_XInterface(hyper pXInterface)
{
// internal IUNOXWrapper - no mutex meeded
@@ -287,7 +287,7 @@ STDMETHODIMP CAccHyperLink::put_XInterface(hyper pXInterface)
* @param pXSubInterface XAccessibleHyperlink interface.
* @return Result.
*/
-STDMETHODIMP CAccHyperLink::put_XSubInterface(hyper pXSubInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHyperLink::put_XSubInterface(hyper pXSubInterface)
{
// internal IUNOXWrapper - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/AccHypertext.cxx b/winaccessibility/source/UAccCOM/AccHypertext.cxx
index 02946bc8e69d..28d7525e2f8e 100644
--- a/winaccessibility/source/UAccCOM/AccHypertext.cxx
+++ b/winaccessibility/source/UAccCOM/AccHypertext.cxx
@@ -45,7 +45,7 @@ using namespace com::sun::star::uno;
* @param success Variant to accept the result of if the method call is successful.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::addSelection(long startOffset, long endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::addSelection(long startOffset, long endOffset)
{
return CAccTextBase::get_addSelection(startOffset, endOffset);
@@ -60,7 +60,7 @@ STDMETHODIMP CAccHypertext::addSelection(long startOffset, long endOffset)
* @param textAttributes Variant to accept attributes.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_attributes(long offset, long * startOffset, long * endOffset, BSTR * textAttributes)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_attributes(long offset, long * startOffset, long * endOffset, BSTR * textAttributes)
{
return CAccTextBase::get_attributes(offset, startOffset, endOffset, textAttributes);
@@ -71,7 +71,7 @@ STDMETHODIMP CAccHypertext::get_attributes(long offset, long * startOffset, long
* @param offset Variant to accept caret offset.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_caretOffset(long * offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_caretOffset(long * offset)
{
return CAccTextBase::get_caretOffset(offset);
@@ -86,7 +86,7 @@ STDMETHODIMP CAccHypertext::get_caretOffset(long * offset)
* @param Height Variant to accept height.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_characterExtents(long offset, IA2CoordinateType coordType, long * x, long * y, long * width, long * height)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_characterExtents(long offset, IA2CoordinateType coordType, long * x, long * y, long * width, long * height)
{
return CAccTextBase::get_characterExtents(offset, coordType, x, y, width, height);
@@ -97,7 +97,7 @@ STDMETHODIMP CAccHypertext::get_characterExtents(long offset, IA2CoordinateType
* @param nSelections Variant to accept selections count.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_nSelections(long * nSelections)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_nSelections(long * nSelections)
{
return CAccTextBase::get_nSelections(nSelections);
@@ -111,7 +111,7 @@ STDMETHODIMP CAccHypertext::get_nSelections(long * nSelections)
* @param offset Variant to accept offset.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_offsetAtPoint(long x, long y, IA2CoordinateType coordType, long * offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_offsetAtPoint(long x, long y, IA2CoordinateType coordType, long * offset)
{
return CAccTextBase::get_offsetAtPoint(x, y, coordType, offset);
}
@@ -123,7 +123,7 @@ STDMETHODIMP CAccHypertext::get_offsetAtPoint(long x, long y, IA2CoordinateType
* @param endOffset Variant to accept the end offset of special selection.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_selection(long selection, long * startOffset, long * endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_selection(long selection, long * startOffset, long * endOffset)
{
return CAccTextBase::get_selection(selection, startOffset, endOffset);
@@ -136,7 +136,7 @@ STDMETHODIMP CAccHypertext::get_selection(long selection, long * startOffset, lo
* @param text Variant to accept the text of special range.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_text(long startOffset, long endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_text(long startOffset, long endOffset, BSTR * text)
{
return CAccTextBase::get_text(startOffset, endOffset, text);
@@ -151,7 +151,7 @@ STDMETHODIMP CAccHypertext::get_text(long startOffset, long endOffset, BSTR * te
* @param text Variant to accept the special text.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_textBeforeOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_textBeforeOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
{
return CAccTextBase::get_textBeforeOffset(offset, boundaryType,
@@ -167,7 +167,7 @@ STDMETHODIMP CAccHypertext::get_textBeforeOffset(long offset, IA2TextBoundaryTyp
* @param text Variant to accept the special text.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_textAfterOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_textAfterOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
{
return CAccTextBase::get_textAfterOffset(offset, boundaryType,
@@ -183,7 +183,7 @@ STDMETHODIMP CAccHypertext::get_textAfterOffset(long offset, IA2TextBoundaryType
* @param text Variant to accept the special text.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_textAtOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_textAtOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
{
return CAccTextBase::get_textAtOffset(offset, boundaryType,
@@ -196,7 +196,7 @@ STDMETHODIMP CAccHypertext::get_textAtOffset(long offset, IA2TextBoundaryType bo
* @param success Variant to accept the memthod called result.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::removeSelection(long selectionIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::removeSelection(long selectionIndex)
{
return CAccTextBase::removeSelection(selectionIndex);
@@ -208,7 +208,7 @@ STDMETHODIMP CAccHypertext::removeSelection(long selectionIndex)
* @param success Variant to accept the memthod called result.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::setCaretOffset(long offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::setCaretOffset(long offset)
{
return CAccTextBase::setCaretOffset(offset);
@@ -222,7 +222,7 @@ STDMETHODIMP CAccHypertext::setCaretOffset(long offset)
* @param success Variant to accept the memthod called result.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::setSelection(long selectionIndex, long startOffset, long endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::setSelection(long selectionIndex, long startOffset, long endOffset)
{
return CAccTextBase::setSelection(selectionIndex, startOffset,
@@ -234,18 +234,18 @@ STDMETHODIMP CAccHypertext::setSelection(long selectionIndex, long startOffset,
* @param nCharacters Variant to accept the characters count.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_nCharacters(long * nCharacters)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_nCharacters(long * nCharacters)
{
return CAccTextBase::get_nCharacters(nCharacters);
}
-STDMETHODIMP CAccHypertext::get_newText( IA2TextSegment *newText)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_newText( IA2TextSegment *newText)
{
return CAccTextBase::get_newText(newText);
}
-STDMETHODIMP CAccHypertext::get_oldText( IA2TextSegment *oldText)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_oldText( IA2TextSegment *oldText)
{
return CAccTextBase::get_oldText(oldText);
}
@@ -256,12 +256,12 @@ STDMETHODIMP CAccHypertext::get_oldText( IA2TextSegment *oldText)
* @param endIndex End index of sub string.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::scrollSubstringToPoint(long startIndex, long endIndex,enum IA2CoordinateType coordinateType, long x, long y )
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::scrollSubstringToPoint(long startIndex, long endIndex,enum IA2CoordinateType coordinateType, long x, long y )
{
return CAccTextBase::scrollSubstringToPoint(startIndex, endIndex, coordinateType, x, y);
}
-STDMETHODIMP CAccHypertext::scrollSubstringTo(long startIndex, long endIndex,enum IA2ScrollType scrollType)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::scrollSubstringTo(long startIndex, long endIndex,enum IA2ScrollType scrollType)
{
return CAccTextBase::scrollSubstringTo(startIndex, endIndex,scrollType);
@@ -272,7 +272,7 @@ STDMETHODIMP CAccHypertext::scrollSubstringTo(long startIndex, long endIndex,enu
* @param hyperlinkCount Variant to accept hyperlink count.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_nHyperlinks(long *hyperlinkCount)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_nHyperlinks(long *hyperlinkCount)
{
SolarMutexGuard g;
@@ -299,7 +299,7 @@ STDMETHODIMP CAccHypertext::get_nHyperlinks(long *hyperlinkCount)
* @param hyperlink Variant to accept special hyperlink via index.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_hyperlink(long index,IAccessibleHyperlink **hyperlink)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_hyperlink(long index,IAccessibleHyperlink **hyperlink)
{
SolarMutexGuard g;
@@ -347,7 +347,7 @@ STDMETHODIMP CAccHypertext::get_hyperlink(long index,IAccessibleHyperlink **hype
* @param hyperlinkIndex Variant to accept special hyperlink index.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::get_hyperlinkIndex(long charIndex, long *hyperlinkIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::get_hyperlinkIndex(long charIndex, long *hyperlinkIndex)
{
SolarMutexGuard g;
@@ -373,7 +373,7 @@ STDMETHODIMP CAccHypertext::get_hyperlinkIndex(long charIndex, long *hyperlinkIn
* @param pXInterface UNO interface.
* @return Result.
*/
-STDMETHODIMP CAccHypertext::put_XInterface(hyper pXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccHypertext::put_XInterface(hyper pXInterface)
{
// internal IUNOXWrapper - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/AccImage.cxx b/winaccessibility/source/UAccCOM/AccImage.cxx
index 4094f5d59314..d9fe6a3c4c38 100644
--- a/winaccessibility/source/UAccCOM/AccImage.cxx
+++ b/winaccessibility/source/UAccCOM/AccImage.cxx
@@ -43,7 +43,7 @@ using namespace css::uno;
* @param description Variant to get description.
* @return Result.
*/
-STDMETHODIMP CAccImage::get_description(BSTR * description)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::get_description(BSTR * description)
{
SolarMutexGuard g;
@@ -64,7 +64,7 @@ STDMETHODIMP CAccImage::get_description(BSTR * description)
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CAccImage::get_imagePosition(
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::get_imagePosition(
/* [in] */ enum IA2CoordinateType,
/* [out] */ long __RPC_FAR *,
/* [retval][out] */ long __RPC_FAR *)
@@ -72,7 +72,7 @@ STDMETHODIMP CAccImage::get_imagePosition(
return E_NOTIMPL;
}
-STDMETHODIMP CAccImage::get_imageSize(
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::get_imageSize(
/* [out] */ long __RPC_FAR *,
/* [retval][out] */ long __RPC_FAR *)
{
@@ -84,7 +84,7 @@ STDMETHODIMP CAccImage::get_imageSize(
* @param pXInterface UNO interface.
* @return Result.
*/
-STDMETHODIMP CAccImage::put_XInterface(hyper pXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::put_XInterface(hyper pXInterface)
{
// internal IUNOXWrapper - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/AccRelation.cxx b/winaccessibility/source/UAccCOM/AccRelation.cxx
index 052bd8785204..dcfb4b69eafc 100644
--- a/winaccessibility/source/UAccCOM/AccRelation.cxx
+++ b/winaccessibility/source/UAccCOM/AccRelation.cxx
@@ -44,7 +44,7 @@ using namespace com::sun::star::uno;
* @param relationType Variant to get relation type.
* @return Result.
*/
-STDMETHODIMP CAccRelation::get_relationType(BSTR * relationType)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccRelation::get_relationType(BSTR * relationType)
{
SolarMutexGuard g;
@@ -63,7 +63,7 @@ STDMETHODIMP CAccRelation::get_relationType(BSTR * relationType)
}
// Gets what the type of localized relation is.
-STDMETHODIMP CAccRelation::get_localizedRelationType(BSTR *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccRelation::get_localizedRelationType(BSTR *)
{
@@ -79,7 +79,7 @@ STDMETHODIMP CAccRelation::get_localizedRelationType(BSTR *)
* @param nTargets Variant to get targets length.
* @return Result.
*/
-STDMETHODIMP CAccRelation::get_nTargets(long * nTargets)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccRelation::get_nTargets(long * nTargets)
{
SolarMutexGuard g;
@@ -101,7 +101,7 @@ STDMETHODIMP CAccRelation::get_nTargets(long * nTargets)
* @param target Variant to get special target.
* @return Result.
*/
-STDMETHODIMP CAccRelation::get_target(long targetIndex, IUnknown * * target)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccRelation::get_target(long targetIndex, IUnknown * * target)
{
SolarMutexGuard g;
@@ -138,7 +138,7 @@ STDMETHODIMP CAccRelation::get_target(long targetIndex, IUnknown * * target)
* @param nTargets Variant to accept actual target length.
* @return Result.
*/
-STDMETHODIMP CAccRelation::get_targets(long, IUnknown * * target, long * nTargets)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccRelation::get_targets(long, IUnknown * * target, long * nTargets)
{
SolarMutexGuard g;
@@ -180,7 +180,7 @@ STDMETHODIMP CAccRelation::get_targets(long, IUnknown * * target, long * nTarget
* @param pXSubInterface AccessibleRelation pointer.
* @return Result.
*/
-STDMETHODIMP CAccRelation::put_XSubInterface(hyper pXSubInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccRelation::put_XSubInterface(hyper pXSubInterface)
{
// internal IUNOXWrapper - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/AccTable.cxx b/winaccessibility/source/UAccCOM/AccTable.cxx
index 08b230c11193..fc39dc6d350e 100644
--- a/winaccessibility/source/UAccCOM/AccTable.cxx
+++ b/winaccessibility/source/UAccCOM/AccTable.cxx
@@ -50,7 +50,7 @@ using namespace com::sun::star::uno;
* @param accessible the accessible object of the cell.
*/
-STDMETHODIMP CAccTable::get_accessibleAt(long row, long column, IUnknown * * accessible)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_accessibleAt(long row, long column, IUnknown * * accessible)
{
SolarMutexGuard g;
@@ -104,7 +104,7 @@ STDMETHODIMP CAccTable::get_accessibleAt(long row, long column, IUnknown * * acc
*
* @param accessible the accessible object of table caption.
*/
-STDMETHODIMP CAccTable::get_caption(IUnknown * *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_caption(IUnknown * *)
{
return E_NOTIMPL;
}
@@ -115,7 +115,7 @@ STDMETHODIMP CAccTable::get_caption(IUnknown * *)
* @param column the column index.
* @param description the description of the specified column.
*/
-STDMETHODIMP CAccTable::get_columnDescription(long column, BSTR * description)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_columnDescription(long column, BSTR * description)
{
SolarMutexGuard g;
@@ -148,7 +148,7 @@ STDMETHODIMP CAccTable::get_columnDescription(long column, BSTR * description)
* @param column the column of the specified cell.
* @param spanColumns the column span of the specified cell.
*/
-STDMETHODIMP CAccTable::get_columnExtentAt(long row, long column, long * nColumnsSpanned)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_columnExtentAt(long row, long column, long * nColumnsSpanned)
{
SolarMutexGuard g;
@@ -181,7 +181,7 @@ STDMETHODIMP CAccTable::get_columnExtentAt(long row, long column, long * nColumn
* @param column the column index.
* @param accessible the accessible object of the specified column.
*/
-STDMETHODIMP CAccTable::get_columnHeader(IAccessibleTable __RPC_FAR *__RPC_FAR *accessibleTable, long *startingRowIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_columnHeader(IAccessibleTable __RPC_FAR *__RPC_FAR *accessibleTable, long *startingRowIndex)
{
SolarMutexGuard g;
@@ -231,7 +231,7 @@ STDMETHODIMP CAccTable::get_columnHeader(IAccessibleTable __RPC_FAR *__RPC_FAR *
*
* @param columnCount the number of columns in table.
*/
-STDMETHODIMP CAccTable::get_nColumns(long * columnCount)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_nColumns(long * columnCount)
{
SolarMutexGuard g;
@@ -256,7 +256,7 @@ STDMETHODIMP CAccTable::get_nColumns(long * columnCount)
*
* @param rowCount the number of rows in table.
*/
-STDMETHODIMP CAccTable::get_nRows(long * rowCount)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_nRows(long * rowCount)
{
SolarMutexGuard g;
@@ -281,7 +281,7 @@ STDMETHODIMP CAccTable::get_nRows(long * rowCount)
*
* @param columnCount the number of selected columns.
*/
-STDMETHODIMP CAccTable::get_nSelectedColumns(long * columnCount)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_nSelectedColumns(long * columnCount)
{
SolarMutexGuard g;
@@ -307,7 +307,7 @@ STDMETHODIMP CAccTable::get_nSelectedColumns(long * columnCount)
*
* @param rowCount the number of selected rows.
*/
-STDMETHODIMP CAccTable::get_nSelectedRows(long * rowCount)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_nSelectedRows(long * rowCount)
{
SolarMutexGuard g;
@@ -334,7 +334,7 @@ STDMETHODIMP CAccTable::get_nSelectedRows(long * rowCount)
* @param row the row index.
* @param description the description of the specified row.
*/
-STDMETHODIMP CAccTable::get_rowDescription(long row, BSTR * description)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_rowDescription(long row, BSTR * description)
{
SolarMutexGuard g;
@@ -367,7 +367,7 @@ STDMETHODIMP CAccTable::get_rowDescription(long row, BSTR * description)
* @param column the column of the specified cell.
* @param spanRows the row span of the specified cell.
*/
-STDMETHODIMP CAccTable::get_rowExtentAt(long row, long column, long * nRowsSpanned)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_rowExtentAt(long row, long column, long * nRowsSpanned)
{
SolarMutexGuard g;
@@ -401,7 +401,7 @@ STDMETHODIMP CAccTable::get_rowExtentAt(long row, long column, long * nRowsSpann
* @param row the row index.
* @param accessible the accessible object of the row header.
*/
-STDMETHODIMP CAccTable::get_rowHeader(IAccessibleTable __RPC_FAR *__RPC_FAR *accessibleTable, long *startingColumnIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_rowHeader(IAccessibleTable __RPC_FAR *__RPC_FAR *accessibleTable, long *startingColumnIndex)
{
SolarMutexGuard g;
@@ -453,7 +453,7 @@ STDMETHODIMP CAccTable::get_rowHeader(IAccessibleTable __RPC_FAR *__RPC_FAR *acc
* @param accessible the accessible object array of the selected rows.
* @param nRows the actual size of the accessible object array.
*/
-STDMETHODIMP CAccTable::get_selectedRows(long, long ** rows, long * nRows)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_selectedRows(long, long ** rows, long * nRows)
{
SolarMutexGuard g;
@@ -492,7 +492,7 @@ STDMETHODIMP CAccTable::get_selectedRows(long, long ** rows, long * nRows)
* @param accessible the accessible object array of the selected columns.
* @param numColumns the actual size of accessible object array.
*/
-STDMETHODIMP CAccTable::get_selectedColumns(long, long ** columns, long * numColumns)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_selectedColumns(long, long ** columns, long * numColumns)
{
SolarMutexGuard g;
@@ -529,7 +529,7 @@ STDMETHODIMP CAccTable::get_selectedColumns(long, long ** columns, long * numCol
*
* @param accessible the accessible object of the summary.
*/
-STDMETHODIMP CAccTable::get_summary(IUnknown * * accessible)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_summary(IUnknown * * accessible)
{
SolarMutexGuard g;
@@ -567,7 +567,7 @@ STDMETHODIMP CAccTable::get_summary(IUnknown * * accessible)
* @param column the column index.
* @param isSelected the result.
*/
-STDMETHODIMP CAccTable::get_isColumnSelected(long column, boolean * isSelected)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_isColumnSelected(long column, boolean * isSelected)
{
SolarMutexGuard g;
@@ -593,7 +593,7 @@ STDMETHODIMP CAccTable::get_isColumnSelected(long column, boolean * isSelected)
* @param row the row index.
* @param isSelected the result.
*/
-STDMETHODIMP CAccTable::get_isRowSelected(long row, boolean * isSelected)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_isRowSelected(long row, boolean * isSelected)
{
SolarMutexGuard g;
@@ -621,7 +621,7 @@ STDMETHODIMP CAccTable::get_isRowSelected(long row, boolean * isSelected)
* @param column the column index.
* @param isSelected the result.
*/
-STDMETHODIMP CAccTable::get_isSelected(long row, long column, boolean * isSelected)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_isSelected(long row, long column, boolean * isSelected)
{
SolarMutexGuard g;
@@ -647,7 +647,7 @@ STDMETHODIMP CAccTable::get_isSelected(long row, long column, boolean * isSelect
* @param row the row index.
* @param success the result.
*/
-STDMETHODIMP CAccTable::selectRow(long row)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::selectRow(long row)
{
SolarMutexGuard g;
@@ -691,7 +691,7 @@ STDMETHODIMP CAccTable::selectRow(long row)
* @param column the column index.
* @param success the result.
*/
-STDMETHODIMP CAccTable::selectColumn(long column)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::selectColumn(long column)
{
SolarMutexGuard g;
@@ -736,7 +736,7 @@ STDMETHODIMP CAccTable::selectColumn(long column)
* @param row the row index.
* @param success the result.
*/
-STDMETHODIMP CAccTable::unselectRow(long row)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::unselectRow(long row)
{
SolarMutexGuard g;
@@ -783,7 +783,7 @@ STDMETHODIMP CAccTable::unselectRow(long row)
* @param column the column index.
* @param success the result.
*/
-STDMETHODIMP CAccTable::unselectColumn(long column)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::unselectColumn(long column)
{
SolarMutexGuard g;
@@ -828,7 +828,7 @@ STDMETHODIMP CAccTable::unselectColumn(long column)
*
* @param pXInterface the pointer of UNO interface.
*/
-STDMETHODIMP CAccTable::put_XInterface(hyper pXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::put_XInterface(hyper pXInterface)
{
// internal IUNOXWrapper - no mutex meeded
@@ -858,7 +858,7 @@ STDMETHODIMP CAccTable::put_XInterface(hyper pXInterface)
*
* @param childIndex childIndex
*/
-STDMETHODIMP CAccTable::get_columnIndex(long childIndex, long * columnIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_columnIndex(long childIndex, long * columnIndex)
{
SolarMutexGuard g;
@@ -882,7 +882,7 @@ STDMETHODIMP CAccTable::get_columnIndex(long childIndex, long * columnIndex)
*
* @param childIndex childIndex
*/
-STDMETHODIMP CAccTable::get_rowIndex(long childIndex, long * rowIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_rowIndex(long childIndex, long * rowIndex)
{
SolarMutexGuard g;
@@ -906,7 +906,7 @@ STDMETHODIMP CAccTable::get_rowIndex(long childIndex, long * rowIndex)
*
* @param childIndex childIndex
*/
-STDMETHODIMP CAccTable::get_childIndex(long RowIndex , long columnIndex, long * childIndex )
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_childIndex(long RowIndex , long columnIndex, long * childIndex )
{
SolarMutexGuard g;
@@ -926,7 +926,7 @@ STDMETHODIMP CAccTable::get_childIndex(long RowIndex , long columnIndex, long *
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CAccTable::get_rowColumnExtentsAtIndex(long,
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_rowColumnExtentsAtIndex(long,
long *,
long *,
long *,
@@ -936,7 +936,7 @@ STDMETHODIMP CAccTable::get_rowColumnExtentsAtIndex(long,
return E_NOTIMPL;
}
-STDMETHODIMP CAccTable::get_modelChange(IA2TableModelChange *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_modelChange(IA2TableModelChange *)
{
return E_NOTIMPL;
}
@@ -944,7 +944,7 @@ STDMETHODIMP CAccTable::get_modelChange(IA2TableModelChange *)
// @brief Returns the total number of selected children
// @param [out] childCount
// Number of children currently selected
-STDMETHODIMP CAccTable::get_nSelectedChildren(long *childCount)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_nSelectedChildren(long *childCount)
{
SolarMutexGuard g;
@@ -975,7 +975,7 @@ STDMETHODIMP CAccTable::get_nSelectedChildren(long *childCount)
// array of indexes of selected children (each index is 0-based)
// @param [out] nChildren
// Length of array (not more than maxChildren)
-STDMETHODIMP CAccTable::get_selectedChildren(long, long **children, long *nChildren)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_selectedChildren(long, long **children, long *nChildren)
{
SolarMutexGuard g;
diff --git a/winaccessibility/source/UAccCOM/AccText.cxx b/winaccessibility/source/UAccCOM/AccText.cxx
index d12f7fae81d6..7c646cdfc285 100644
--- a/winaccessibility/source/UAccCOM/AccText.cxx
+++ b/winaccessibility/source/UAccCOM/AccText.cxx
@@ -39,7 +39,7 @@ using namespace com::sun::star::uno;
* @param success Variant to accept the result of if the method call is successful.
* @return Result.
*/
-STDMETHODIMP CAccText::addSelection(long startOffset, long endOffset)//, unsigned char * success)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::addSelection(long startOffset, long endOffset)//, unsigned char * success)
{
return CAccTextBase::get_addSelection(startOffset, endOffset);//, success);
@@ -53,7 +53,7 @@ STDMETHODIMP CAccText::addSelection(long startOffset, long endOffset)//, unsigne
* @param textAttributes Variant to accept attributes.
* @return Result.
*/
-STDMETHODIMP CAccText::get_attributes(long offset, long * startOffset, long * endOffset, BSTR * textAttributes)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_attributes(long offset, long * startOffset, long * endOffset, BSTR * textAttributes)
{
return CAccTextBase::get_attributes(offset, startOffset, endOffset, textAttributes);
@@ -64,7 +64,7 @@ STDMETHODIMP CAccText::get_attributes(long offset, long * startOffset, long * en
* @param offset Variant to accept caret offset.
* @return Result.
*/
-STDMETHODIMP CAccText::get_caretOffset(long * offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_caretOffset(long * offset)
{
return CAccTextBase::get_caretOffset(offset);
@@ -79,7 +79,7 @@ STDMETHODIMP CAccText::get_caretOffset(long * offset)
* @param Height Variant to accept height.
* @return Result.
*/
-STDMETHODIMP CAccText::get_characterExtents(long offset, IA2CoordinateType coordType, long * x, long * y, long * width, long * height)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_characterExtents(long offset, IA2CoordinateType coordType, long * x, long * y, long * width, long * height)
{
return CAccTextBase::get_characterExtents(offset, coordType, x, y, width, height);
@@ -90,7 +90,7 @@ STDMETHODIMP CAccText::get_characterExtents(long offset, IA2CoordinateType coord
* @param nSelections Variant to accept selections count.
* @return Result.
*/
-STDMETHODIMP CAccText::get_nSelections(long * nSelections)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_nSelections(long * nSelections)
{
return CAccTextBase::get_nSelections(nSelections);
@@ -105,7 +105,7 @@ STDMETHODIMP CAccText::get_nSelections(long * nSelections)
* @return Result.
*/
-STDMETHODIMP CAccText::get_offsetAtPoint(long x, long y, IA2CoordinateType coordType, long * offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_offsetAtPoint(long x, long y, IA2CoordinateType coordType, long * offset)
{
return CAccTextBase::get_offsetAtPoint(x, y, coordType, offset);
@@ -118,7 +118,7 @@ STDMETHODIMP CAccText::get_offsetAtPoint(long x, long y, IA2CoordinateType coord
* @param endOffset Variant to accept the end offset of special selection.
* @return Result.
*/
-STDMETHODIMP CAccText::get_selection(long selection, long * startOffset, long * endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_selection(long selection, long * startOffset, long * endOffset)
{
return CAccTextBase::get_selection(selection, startOffset, endOffset);
@@ -131,7 +131,7 @@ STDMETHODIMP CAccText::get_selection(long selection, long * startOffset, long *
* @param text Variant to accept the text of special range.
* @return Result.
*/
-STDMETHODIMP CAccText::get_text(long startOffset, long endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_text(long startOffset, long endOffset, BSTR * text)
{
return CAccTextBase::get_text(startOffset, endOffset, text);
@@ -146,7 +146,7 @@ STDMETHODIMP CAccText::get_text(long startOffset, long endOffset, BSTR * text)
* @param text Variant to accept the special text.
* @return Result.
*/
-STDMETHODIMP CAccText::get_textBeforeOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_textBeforeOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
{
return CAccTextBase::get_textBeforeOffset(offset, boundaryType,
@@ -162,7 +162,7 @@ STDMETHODIMP CAccText::get_textBeforeOffset(long offset, IA2TextBoundaryType bou
* @param text Variant to accept the special text.
* @return Result.
*/
-STDMETHODIMP CAccText::get_textAfterOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_textAfterOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
{
return CAccTextBase::get_textAfterOffset(offset, boundaryType,
@@ -178,7 +178,7 @@ STDMETHODIMP CAccText::get_textAfterOffset(long offset, IA2TextBoundaryType boun
* @param text Variant to accept the special text.
* @return Result.
*/
-STDMETHODIMP CAccText::get_textAtOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_textAtOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
{
return CAccTextBase::get_textAtOffset(offset, boundaryType,
@@ -191,7 +191,7 @@ STDMETHODIMP CAccText::get_textAtOffset(long offset, IA2TextBoundaryType boundar
* @param success Variant to accept the memthod called result.
* @return Result.
*/
-STDMETHODIMP CAccText::removeSelection(long selectionIndex)//, unsigned char * success)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::removeSelection(long selectionIndex)//, unsigned char * success)
{
return CAccTextBase::removeSelection(selectionIndex);//, success);
@@ -203,7 +203,7 @@ STDMETHODIMP CAccText::removeSelection(long selectionIndex)//, unsigned char * s
* @param success Variant to accept the memthod called result.
* @return Result.
*/
-STDMETHODIMP CAccText::setCaretOffset(long offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::setCaretOffset(long offset)
{
return CAccTextBase::setCaretOffset(offset);
@@ -218,7 +218,7 @@ STDMETHODIMP CAccText::setCaretOffset(long offset)
* @return Result.
*/
-STDMETHODIMP CAccText::setSelection(long selectionIndex, long startOffset, long endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::setSelection(long selectionIndex, long startOffset, long endOffset)
{
return CAccTextBase::setSelection(selectionIndex, startOffset,
@@ -230,18 +230,18 @@ STDMETHODIMP CAccText::setSelection(long selectionIndex, long startOffset, long
* @param nCharacters Variant to accept the characters count.
* @return Result.
*/
-STDMETHODIMP CAccText::get_nCharacters(long * nCharacters)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_nCharacters(long * nCharacters)
{
return CAccTextBase::get_nCharacters(nCharacters);
}
-STDMETHODIMP CAccText::get_newText( IA2TextSegment *newText)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_newText( IA2TextSegment *newText)
{
return CAccTextBase::get_newText(newText);
}
-STDMETHODIMP CAccText::get_oldText( IA2TextSegment *oldText)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::get_oldText( IA2TextSegment *oldText)
{
return CAccTextBase::get_oldText(oldText);
}
@@ -252,13 +252,13 @@ STDMETHODIMP CAccText::get_oldText( IA2TextSegment *oldText)
* @param endIndex End index of sub string.
* @return Result.
*/
-STDMETHODIMP CAccText::scrollSubstringToPoint(long startIndex, long endIndex,enum IA2CoordinateType coordinateType, long x, long y )
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::scrollSubstringToPoint(long startIndex, long endIndex,enum IA2CoordinateType coordinateType, long x, long y )
{
return CAccTextBase::scrollSubstringToPoint(startIndex, endIndex, coordinateType, x, y);
}
-STDMETHODIMP CAccText::scrollSubstringTo(long startIndex, long endIndex,enum IA2ScrollType scrollType)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccText::scrollSubstringTo(long startIndex, long endIndex,enum IA2ScrollType scrollType)
{
return CAccTextBase::scrollSubstringTo(startIndex, endIndex,scrollType);
diff --git a/winaccessibility/source/UAccCOM/AccTextBase.cxx b/winaccessibility/source/UAccCOM/AccTextBase.cxx
index efe10612d0b3..6717ce6fed7f 100644
--- a/winaccessibility/source/UAccCOM/AccTextBase.cxx
+++ b/winaccessibility/source/UAccCOM/AccTextBase.cxx
@@ -58,7 +58,7 @@ CAccTextBase::~CAccTextBase()
* @param success Variant to accept the result of if the method call is successful.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_addSelection(long startOffset, long endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_addSelection(long startOffset, long endOffset)
{
SolarMutexGuard g;
@@ -94,7 +94,7 @@ STDMETHODIMP CAccTextBase::get_addSelection(long startOffset, long endOffset)
* @param textAttributes Variant to accept attributes.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_attributes(long offset, long * startOffset, long * endOffset, BSTR * textAttributes)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_attributes(long offset, long * startOffset, long * endOffset, BSTR * textAttributes)
{
SolarMutexGuard g;
@@ -209,7 +209,7 @@ STDMETHODIMP CAccTextBase::get_attributes(long offset, long * startOffset, long
* @param offset Variant to accept caret offset.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_caretOffset(long * offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_caretOffset(long * offset)
{
SolarMutexGuard g;
@@ -235,7 +235,7 @@ STDMETHODIMP CAccTextBase::get_caretOffset(long * offset)
* @param nCharacters Variant to accept character count.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_characterCount(long * nCharacters)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_characterCount(long * nCharacters)
{
SolarMutexGuard g;
@@ -265,7 +265,7 @@ STDMETHODIMP CAccTextBase::get_characterCount(long * nCharacters)
* @param Height Variant to accept height.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_characterExtents(long offset, IA2CoordinateType coordType, long * x, long * y, long * width, long * height)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_characterExtents(long offset, IA2CoordinateType coordType, long * x, long * y, long * width, long * height)
{
SolarMutexGuard g;
@@ -337,7 +337,7 @@ STDMETHODIMP CAccTextBase::get_characterExtents(long offset, IA2CoordinateType c
* @param nSelections Variant to accept selections count.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_nSelections(long * nSelections)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_nSelections(long * nSelections)
{
SolarMutexGuard g;
@@ -383,7 +383,7 @@ STDMETHODIMP CAccTextBase::get_nSelections(long * nSelections)
* @param offset Variant to accept offset.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_offsetAtPoint(long x, long y, IA2CoordinateType, long * offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_offsetAtPoint(long x, long y, IA2CoordinateType, long * offset)
{
SolarMutexGuard g;
@@ -412,7 +412,7 @@ STDMETHODIMP CAccTextBase::get_offsetAtPoint(long x, long y, IA2CoordinateType,
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_selection(long selectionIndex, long * startOffset, long * endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_selection(long selectionIndex, long * startOffset, long * endOffset)
{
SolarMutexGuard g;
@@ -461,7 +461,7 @@ STDMETHODIMP CAccTextBase::get_selection(long selectionIndex, long * startOffset
* @param text Variant to accept the text of special range.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_text(long startOffset, long endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_text(long startOffset, long endOffset, BSTR * text)
{
SolarMutexGuard g;
@@ -508,7 +508,7 @@ STDMETHODIMP CAccTextBase::get_text(long startOffset, long endOffset, BSTR * tex
* @param text Variant to accept the special text.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_textBeforeOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_textBeforeOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
{
SolarMutexGuard g;
@@ -596,7 +596,7 @@ STDMETHODIMP CAccTextBase::get_textBeforeOffset(long offset, IA2TextBoundaryType
* @param text Variant to accept the special text.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_textAfterOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_textAfterOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
{
SolarMutexGuard g;
@@ -682,7 +682,7 @@ STDMETHODIMP CAccTextBase::get_textAfterOffset(long offset, IA2TextBoundaryType
* @param text Variant to accept the special text.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_textAtOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_textAtOffset(long offset, IA2TextBoundaryType boundaryType, long * startOffset, long * endOffset, BSTR * text)
{
SolarMutexGuard g;
@@ -766,7 +766,7 @@ STDMETHODIMP CAccTextBase::get_textAtOffset(long offset, IA2TextBoundaryType bou
* @param success Variant to accept the memthod called result.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::removeSelection(long selectionIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::removeSelection(long selectionIndex)
{
SolarMutexGuard g;
@@ -802,7 +802,7 @@ STDMETHODIMP CAccTextBase::removeSelection(long selectionIndex)
* @param success Variant to accept the memthod called result.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::setCaretOffset(long offset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::setCaretOffset(long offset)
{
SolarMutexGuard g;
@@ -827,7 +827,7 @@ STDMETHODIMP CAccTextBase::setCaretOffset(long offset)
* @param success Variant to accept the memthod called result.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::setSelection(long, long startOffset, long endOffset)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::setSelection(long, long startOffset, long endOffset)
{
SolarMutexGuard g;
@@ -851,7 +851,7 @@ STDMETHODIMP CAccTextBase::setSelection(long, long startOffset, long endOffset)
* @param nCharacters Variant to accept the characters count.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::get_nCharacters(long * nCharacters)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_nCharacters(long * nCharacters)
{
SolarMutexGuard g;
@@ -874,12 +874,12 @@ STDMETHODIMP CAccTextBase::get_nCharacters(long * nCharacters)
}
// added by qiuhd, 2006/07/03, for direver 07/11
-STDMETHODIMP CAccTextBase::get_newText( IA2TextSegment *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_newText( IA2TextSegment *)
{
return E_NOTIMPL;
}
-STDMETHODIMP CAccTextBase::get_oldText( IA2TextSegment *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::get_oldText( IA2TextSegment *)
{
return E_NOTIMPL;
}
@@ -890,12 +890,12 @@ STDMETHODIMP CAccTextBase::get_oldText( IA2TextSegment *)
* @param endIndex End index of sub string.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::scrollSubstringToPoint(long, long, IA2CoordinateType, long, long )
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::scrollSubstringToPoint(long, long, IA2CoordinateType, long, long )
{
return E_NOTIMPL;
}
-STDMETHODIMP CAccTextBase::scrollSubstringTo(long, long, IA2ScrollType)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::scrollSubstringTo(long, long, IA2ScrollType)
{
return E_NOTIMPL;
}
@@ -905,7 +905,7 @@ STDMETHODIMP CAccTextBase::scrollSubstringTo(long, long, IA2ScrollType)
* @param pXInterface UNO interface.
* @return Result.
*/
-STDMETHODIMP CAccTextBase::put_XInterface(hyper pXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTextBase::put_XInterface(hyper pXInterface)
{
// internal IUNOXWrapper - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/AccValue.cxx b/winaccessibility/source/UAccCOM/AccValue.cxx
index 50699c92566a..b0b24650aa06 100644
--- a/winaccessibility/source/UAccCOM/AccValue.cxx
+++ b/winaccessibility/source/UAccCOM/AccValue.cxx
@@ -44,7 +44,7 @@ using namespace com::sun::star::uno;
* @return Result.
*/
-STDMETHODIMP CAccValue::get_currentValue(VARIANT * currentValue)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccValue::get_currentValue(VARIANT * currentValue)
{
SolarMutexGuard g;
@@ -71,7 +71,7 @@ STDMETHODIMP CAccValue::get_currentValue(VARIANT * currentValue)
* @param success If the method is successfully called.
* @return Result.
*/
-STDMETHODIMP CAccValue::setCurrentValue(VARIANT value)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccValue::setCurrentValue(VARIANT value)
{
SolarMutexGuard g;
@@ -150,7 +150,7 @@ STDMETHODIMP CAccValue::setCurrentValue(VARIANT value)
* @param maximumValue Variant that accepts maximum value.
* @return Result.
*/
-STDMETHODIMP CAccValue::get_maximumValue(VARIANT *maximumValue)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccValue::get_maximumValue(VARIANT *maximumValue)
{
SolarMutexGuard g;
@@ -176,7 +176,7 @@ STDMETHODIMP CAccValue::get_maximumValue(VARIANT *maximumValue)
* @param mininumValue Variant that accepts minimum value.
* @return Result.
*/
-STDMETHODIMP CAccValue::get_minimumValue(VARIANT *mininumValue)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccValue::get_minimumValue(VARIANT *mininumValue)
{
SolarMutexGuard g;
@@ -202,7 +202,7 @@ STDMETHODIMP CAccValue::get_minimumValue(VARIANT *mininumValue)
* @param pXInterface UNO interface.
* @return Result.
*/
-STDMETHODIMP CAccValue::put_XInterface(hyper pXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CAccValue::put_XInterface(hyper pXInterface)
{
// internal IUNOXWrapper - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/EnumVariant.cxx b/winaccessibility/source/UAccCOM/EnumVariant.cxx
index 8f7d6080d813..1cbb4513d73f 100644
--- a/winaccessibility/source/UAccCOM/EnumVariant.cxx
+++ b/winaccessibility/source/UAccCOM/EnumVariant.cxx
@@ -195,7 +195,7 @@ long CEnumVariant::GetCountOfElements()
* @param.
* @return Result
*/
-STDMETHODIMP CEnumVariant::ClearEnumeration()
+COM_DECLSPEC_NOTHROW STDMETHODIMP CEnumVariant::ClearEnumeration()
{
// internal IEnumVariant - no mutex meeded
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx
index 57c07139488b..3537f23c6cf7 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.cxx
+++ b/winaccessibility/source/UAccCOM/MAccessible.cxx
@@ -228,7 +228,7 @@ CMAccessible::~CMAccessible()
* when the point is null, should return null.
* @return S_OK if successful and E_FAIL if the m_pIParent is NULL.
*/
-STDMETHODIMP CMAccessible::get_accParent(IDispatch **ppdispParent)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accParent(IDispatch **ppdispParent)
{
SolarMutexGuard g;
@@ -265,7 +265,7 @@ STDMETHODIMP CMAccessible::get_accParent(IDispatch **ppdispParent)
* @param pcountChildren [in,out] used to return the children count.
* @return S_OK if successful.
*/
-STDMETHODIMP CMAccessible::get_accChildCount(long *pcountChildren)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accChildCount(long *pcountChildren)
{
SolarMutexGuard g;
@@ -299,7 +299,7 @@ STDMETHODIMP CMAccessible::get_accChildCount(long *pcountChildren)
* @param ppdispChild, [in,out] use to return the child interface point.
* @return S_OK if successful and S_FALSE if failure.
*/
-STDMETHODIMP CMAccessible::get_accChild(VARIANT varChild, IDispatch **ppdispChild)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accChild(VARIANT varChild, IDispatch **ppdispChild)
{
SolarMutexGuard g;
@@ -337,7 +337,7 @@ STDMETHODIMP CMAccessible::get_accChild(VARIANT varChild, IDispatch **ppdispChil
* @param pszName, [in,out] use to return the name of the proper object.
* @return S_OK if successful and S_FALSE if failure.
*/
-STDMETHODIMP CMAccessible::get_accName(VARIANT varChild, BSTR *pszName)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accName(VARIANT varChild, BSTR *pszName)
{
SolarMutexGuard g;
@@ -376,7 +376,7 @@ STDMETHODIMP CMAccessible::get_accName(VARIANT varChild, BSTR *pszName)
* @param pszValue, [in,out] use to return the value of the proper object.
* @return S_OK if successful and S_FALSE if failure.
*/
-STDMETHODIMP CMAccessible::get_accValue(VARIANT varChild, BSTR *pszValue)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accValue(VARIANT varChild, BSTR *pszValue)
{
SolarMutexGuard g;
@@ -421,7 +421,7 @@ STDMETHODIMP CMAccessible::get_accValue(VARIANT varChild, BSTR *pszValue)
* @param pszDescription, [in,out] use to return the description of the proper object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::get_accDescription(VARIANT varChild, BSTR *pszDescription)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accDescription(VARIANT varChild, BSTR *pszDescription)
{
SolarMutexGuard g;
@@ -460,7 +460,7 @@ STDMETHODIMP CMAccessible::get_accDescription(VARIANT varChild, BSTR *pszDescrip
* @param pvarRole, [in,out] use to return the role of the proper object.
* @return S_OK if successful and S_FALSE if failure.
*/
-STDMETHODIMP CMAccessible::get_accRole(VARIANT varChild, VARIANT *pvarRole)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accRole(VARIANT varChild, VARIANT *pvarRole)
{
SolarMutexGuard g;
@@ -511,7 +511,7 @@ STDMETHODIMP CMAccessible::get_accRole(VARIANT varChild, VARIANT *pvarRole)
* @param pvarState, [in,out] use to return the state of the proper object.
* @return S_OK if successful and S_FALSE if failure.
*/
-STDMETHODIMP CMAccessible::get_accState(VARIANT varChild, VARIANT *pvarState)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accState(VARIANT varChild, VARIANT *pvarState)
{
SolarMutexGuard g;
@@ -571,7 +571,7 @@ STDMETHODIMP CMAccessible::get_accState(VARIANT varChild, VARIANT *pvarState)
* @param pszHelp, [in,out] use to return the helpString of the proper object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::get_accHelp(VARIANT, BSTR *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accHelp(VARIANT, BSTR *)
{
return E_NOTIMPL;
}
@@ -585,7 +585,7 @@ STDMETHODIMP CMAccessible::get_accHelp(VARIANT, BSTR *)
* @return S_OK if successful and E_FAIL if failure.
* Not implemented yet
*/
-STDMETHODIMP CMAccessible::get_accHelpTopic(BSTR *, VARIANT, long *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accHelpTopic(BSTR *, VARIANT, long *)
{
return E_NOTIMPL;
}
@@ -612,7 +612,7 @@ static bool GetMnemonicChar( const OUString& aStr, sal_Unicode* wStr)
* @param pszKeyboardShortcut, [in,out] use to return the kbshortcut of the proper object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::get_accKeyboardShortcut(VARIANT varChild, BSTR *pszKeyboardShortcut)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accKeyboardShortcut(VARIANT varChild, BSTR *pszKeyboardShortcut)
{
SolarMutexGuard g;
@@ -765,7 +765,7 @@ STDMETHODIMP CMAccessible::get_accKeyboardShortcut(VARIANT varChild, BSTR *pszKe
* the child ID specify child index from 0 to children count, 0 stands for object self.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::get_accFocus(VARIANT *pvarChild)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accFocus(VARIANT *pvarChild)
{
SolarMutexGuard g;
@@ -804,7 +804,7 @@ STDMETHODIMP CMAccessible::get_accFocus(VARIANT *pvarChild)
* if selection num >1,return VT_UNKNOWN for vt, and IEnumVariant* for punkVal
* @return S_OK if successful and S_FALSE if failure.
*/
-STDMETHODIMP CMAccessible::get_accSelection(VARIANT *pvarChildren)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_accSelection(VARIANT *pvarChildren)
{
SolarMutexGuard g;
@@ -853,7 +853,7 @@ STDMETHODIMP CMAccessible::get_accSelection(VARIANT *pvarChildren)
* @param pcyHeight, [in,out] use to return the y-coordination height of the proper object.
* @return S_OK if successful and S_FALSE if failure.
*/
-STDMETHODIMP CMAccessible::accLocation(long *pxLeft, long *pyTop, long *pcxWidth, long *pcyHeight, VARIANT varChild)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::accLocation(long *pxLeft, long *pyTop, long *pcxWidth, long *pcyHeight, VARIANT varChild)
{
SolarMutexGuard g;
@@ -911,7 +911,7 @@ STDMETHODIMP CMAccessible::accLocation(long *pxLeft, long *pyTop, long *pcxWidth
* @param pvarEndUpAt, [in,out] the end up child of this navigation action.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::accNavigate(long navDir, VARIANT varStart, VARIANT *pvarEndUpAt)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::accNavigate(long navDir, VARIANT varStart, VARIANT *pvarEndUpAt)
{
SolarMutexGuard g;
@@ -953,7 +953,7 @@ STDMETHODIMP CMAccessible::accNavigate(long navDir, VARIANT varStart, VARIANT *p
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible::accHitTest(long xLeft, long yTop, VARIANT *pvarChild)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::accHitTest(long xLeft, long yTop, VARIANT *pvarChild)
{
SolarMutexGuard g;
@@ -1014,7 +1014,7 @@ STDMETHODIMP CMAccessible::accHitTest(long xLeft, long yTop, VARIANT *pvarChild)
* @param riid, the IID interface .
* @return S_OK if successful and S_FALSE if failure.
*/
-STDMETHODIMP CMAccessible::QueryService(REFGUID guidService, REFIID riid, void** ppvObject)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::QueryService(REFGUID guidService, REFIID riid, void** ppvObject)
{
if( InlineIsEqualGUID(guidService, IID_IAccessible) )
return QueryInterface(riid, ppvObject);
@@ -1028,7 +1028,7 @@ STDMETHODIMP CMAccessible::QueryService(REFGUID guidService, REFIID riid, void**
* @param szName, the name used to set the name of the proper object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::put_accName(VARIANT varChild, BSTR szName)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::put_accName(VARIANT varChild, BSTR szName)
{
SolarMutexGuard g;
@@ -1062,7 +1062,7 @@ STDMETHODIMP CMAccessible::put_accName(VARIANT varChild, BSTR szName)
* @param szValue, the value used to set the value of the proper object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::put_accValue(VARIANT varChild, BSTR szValue)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::put_accValue(VARIANT varChild, BSTR szValue)
{
SolarMutexGuard g;
@@ -1094,7 +1094,7 @@ STDMETHODIMP CMAccessible::put_accValue(VARIANT varChild, BSTR szValue)
* @param pszName, the name value used to set the name of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccName(const OLECHAR __RPC_FAR *pszName)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccName(const OLECHAR __RPC_FAR *pszName)
{
// internal IMAccessible - no mutex meeded
@@ -1120,7 +1120,7 @@ STDMETHODIMP CMAccessible::Put_XAccName(const OLECHAR __RPC_FAR *pszName)
* @param pRole, the role value used to set the role of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccRole(unsigned short pRole)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccRole(unsigned short pRole)
{
// internal IMAccessible - no mutex meeded
@@ -1133,7 +1133,7 @@ STDMETHODIMP CMAccessible::Put_XAccRole(unsigned short pRole)
* @param pXSate, the state used to set the name of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::DecreaseState(DWORD pXSate)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::DecreaseState(DWORD pXSate)
{
// internal IMAccessible - no mutex meeded
@@ -1146,7 +1146,7 @@ STDMETHODIMP CMAccessible::DecreaseState(DWORD pXSate)
* @param pXSate, the state used to set the name of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::IncreaseState(DWORD pXSate)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::IncreaseState(DWORD pXSate)
{
// internal IMAccessible - no mutex meeded
@@ -1159,7 +1159,7 @@ STDMETHODIMP CMAccessible::IncreaseState(DWORD pXSate)
* @param pXSate, the state used to set the name of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::SetState(DWORD pXSate)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::SetState(DWORD pXSate)
{
// internal IMAccessible - no mutex meeded
@@ -1173,7 +1173,7 @@ STDMETHODIMP CMAccessible::SetState(DWORD pXSate)
* @param pszDescription, the name used to set the description of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccDescription(const OLECHAR __RPC_FAR *pszDescription)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccDescription(const OLECHAR __RPC_FAR *pszDescription)
{
// internal IMAccessible - no mutex meeded
@@ -1200,7 +1200,7 @@ STDMETHODIMP CMAccessible::Put_XAccDescription(const OLECHAR __RPC_FAR *pszDescr
* @param pszAccValue, the name used to set the value of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccValue(const OLECHAR __RPC_FAR *pszAccValue)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccValue(const OLECHAR __RPC_FAR *pszAccValue)
{
// internal IMAccessible - no mutex meeded
@@ -1226,7 +1226,7 @@ STDMETHODIMP CMAccessible::Put_XAccValue(const OLECHAR __RPC_FAR *pszAccValue)
* @param hwnd, the HWND used to set the value of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccWindowHandle(HWND hwnd)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccWindowHandle(HWND hwnd)
{
// internal IMAccessible - no mutex meeded
@@ -1243,7 +1243,7 @@ STDMETHODIMP CMAccessible::Put_XAccWindowHandle(HWND hwnd)
* @param dChildID, the child id identifies the focus child.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccFocus(long dChildID)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccFocus(long dChildID)
{
// internal IMAccessible - no mutex meeded
@@ -1277,7 +1277,7 @@ STDMETHODIMP CMAccessible::Put_XAccFocus(long dChildID)
* @param sLocation, the location of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccLocation(const Location sLocation)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccLocation(const Location sLocation)
{
// internal IMAccessible - no mutex meeded
@@ -1291,7 +1291,7 @@ STDMETHODIMP CMAccessible::Put_XAccLocation(const Location sLocation)
* @param pIParent, the parent of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccParent(IMAccessible __RPC_FAR *pIParent)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccParent(IMAccessible __RPC_FAR *pIParent)
{
// internal IMAccessible - no mutex meeded
@@ -1308,7 +1308,7 @@ STDMETHODIMP CMAccessible::Put_XAccParent(IMAccessible __RPC_FAR *pIParent)
* @param dChildID, the id of the current object.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccChildID(long dChildID)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccChildID(long dChildID)
{
// internal IMAccessible - no mutex meeded
@@ -1321,7 +1321,7 @@ STDMETHODIMP CMAccessible::Put_XAccChildID(long dChildID)
* @param pAgent, the AccObjectManagerAgent point.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::Put_XAccAgent(hyper pAgent)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_XAccAgent(hyper pAgent)
{
// internal IMAccessible - no mutex meeded
@@ -1336,7 +1336,7 @@ STDMETHODIMP CMAccessible::Put_XAccAgent(hyper pAgent)
* @param isDestroy, true is it needs to be destroyed.
* @return S_OK if successful and E_FAIL if failure.
*/
-STDMETHODIMP CMAccessible::NotifyDestroy(BOOL isDestroy)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::NotifyDestroy(BOOL isDestroy)
{
// internal IMAccessible - no mutex meeded
@@ -1644,7 +1644,7 @@ HRESULT CMAccessible::GetPreSibling(VARIANT varStart,VARIANT* pvarEndUpAt)
/**
* For IAccessible2 implementation methods
*/
-STDMETHODIMP CMAccessible::get_nRelations( long __RPC_FAR *nRelations)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_nRelations( long __RPC_FAR *nRelations)
{
SolarMutexGuard g;
@@ -1675,7 +1675,7 @@ STDMETHODIMP CMAccessible::get_nRelations( long __RPC_FAR *nRelations)
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible::get_relation( long relationIndex, IAccessibleRelation __RPC_FAR *__RPC_FAR *relation)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_relation( long relationIndex, IAccessibleRelation __RPC_FAR *__RPC_FAR *relation)
{
SolarMutexGuard g;
@@ -1737,7 +1737,7 @@ STDMETHODIMP CMAccessible::get_relation( long relationIndex, IAccessibleRelation
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible::get_relations( long, IAccessibleRelation __RPC_FAR *__RPC_FAR *relation, long __RPC_FAR *nRelations)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_relations( long, IAccessibleRelation __RPC_FAR *__RPC_FAR *relation, long __RPC_FAR *nRelations)
{
SolarMutexGuard g;
@@ -1798,7 +1798,7 @@ STDMETHODIMP CMAccessible::get_relations( long, IAccessibleRelation __RPC_FAR *_
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible::role(long __RPC_FAR *role)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::role(long __RPC_FAR *role)
{
SolarMutexGuard g;
@@ -1812,7 +1812,7 @@ STDMETHODIMP CMAccessible::role(long __RPC_FAR *role)
}
-STDMETHODIMP CMAccessible:: get_nActions(long __RPC_FAR *nActions)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_nActions(long __RPC_FAR *nActions)
{
SolarMutexGuard g;
@@ -1843,12 +1843,12 @@ STDMETHODIMP CMAccessible:: get_nActions(long __RPC_FAR *nActions)
}
-STDMETHODIMP CMAccessible:: scrollToPoint(enum IA2CoordinateType, long, long)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: scrollToPoint(enum IA2CoordinateType, long, long)
{
return E_NOTIMPL;
}
-STDMETHODIMP CMAccessible:: scrollTo(enum IA2ScrollType)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: scrollTo(enum IA2ScrollType)
{
return E_NOTIMPL;
}
@@ -1875,7 +1875,7 @@ static XAccessible* getTheParentOfMember(XAccessible* pXAcc)
return nullptr;
}
-STDMETHODIMP CMAccessible:: get_groupPosition(long __RPC_FAR *groupLevel,long __RPC_FAR *similarItemsInGroup,long __RPC_FAR *positionInGroup)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_groupPosition(long __RPC_FAR *groupLevel,long __RPC_FAR *similarItemsInGroup,long __RPC_FAR *positionInGroup)
{
SolarMutexGuard g;
@@ -2051,13 +2051,13 @@ STDMETHODIMP CMAccessible:: get_groupPosition(long __RPC_FAR *groupLevel,long __
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible:: get_extendedStates( long, BSTR __RPC_FAR *__RPC_FAR *, long __RPC_FAR *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_extendedStates( long, BSTR __RPC_FAR *__RPC_FAR *, long __RPC_FAR *)
{
return E_NOTIMPL;
}
-STDMETHODIMP CMAccessible:: get_uniqueID(long __RPC_FAR *uniqueID)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_uniqueID(long __RPC_FAR *uniqueID)
{
SolarMutexGuard g;
@@ -2074,7 +2074,7 @@ STDMETHODIMP CMAccessible:: get_uniqueID(long __RPC_FAR *uniqueID)
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible:: get_windowHandle(HWND __RPC_FAR *windowHandle)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_windowHandle(HWND __RPC_FAR *windowHandle)
{
SolarMutexGuard g;
@@ -2251,7 +2251,7 @@ HRESULT CMAccessible::DeSelectMultipleChildren( XAccessible** pItem,int size )
* @param pXAcc, the XAccessible object of current object.
* @return S_OK if successful.
*/
-STDMETHODIMP CMAccessible::SetXAccessible(hyper pXAcc)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::SetXAccessible(hyper pXAcc)
{
// internal IMAccessible - no mutex meeded
@@ -2273,7 +2273,7 @@ STDMETHODIMP CMAccessible::SetXAccessible(hyper pXAcc)
* @param varChild, the child object pointer of current action.
* @return S_OK if successful.
*/
-STDMETHODIMP CMAccessible::accSelect(long flagsSelect, VARIANT varChild)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::accSelect(long flagsSelect, VARIANT varChild)
{
SolarMutexGuard g;
@@ -2370,7 +2370,7 @@ STDMETHODIMP CMAccessible::accSelect(long flagsSelect, VARIANT varChild)
* @param pXAcc, [in, out] the Uno interface of the current object.
* @return S_OK if successful.
*/
-STDMETHODIMP CMAccessible::GetUNOInterface(hyper * pXAcc)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::GetUNOInterface(hyper * pXAcc)
{
// internal IMAccessible - no mutex meeded
@@ -2386,7 +2386,7 @@ STDMETHODIMP CMAccessible::GetUNOInterface(hyper * pXAcc)
* @param pAction, the default action point of the current object.
* @return S_OK if successful.
*/
-STDMETHODIMP CMAccessible::SetDefaultAction(hyper pAction)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::SetDefaultAction(hyper pAction)
{
// internal IMAccessible - no mutex meeded
@@ -2401,7 +2401,7 @@ STDMETHODIMP CMAccessible::SetDefaultAction(hyper pAction)
* @param pszDefaultAction,[in/out] the description of the current action.
* @return S_OK if successful.
*/
-HRESULT STDMETHODCALLTYPE CMAccessible::get_accDefaultAction(VARIANT varChild, BSTR *pszDefaultAction)
+COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE CMAccessible::get_accDefaultAction(VARIANT varChild, BSTR *pszDefaultAction)
{
SolarMutexGuard g;
@@ -2440,7 +2440,7 @@ HRESULT STDMETHODCALLTYPE CMAccessible::get_accDefaultAction(VARIANT varChild, B
* @param varChild, the child id of the action object.
* @return S_OK if successful.
*/
-HRESULT STDMETHODCALLTYPE CMAccessible::accDoDefaultAction(VARIANT varChild)
+COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE CMAccessible::accDoDefaultAction(VARIANT varChild)
{
SolarMutexGuard g;
@@ -2475,7 +2475,7 @@ HRESULT STDMETHODCALLTYPE CMAccessible::accDoDefaultAction(VARIANT varChild)
* @param szAction, the action description of the current object.
* @return S_OK if successful.
*/
-STDMETHODIMP CMAccessible::Put_ActionDescription( const OLECHAR* szAction)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Put_ActionDescription( const OLECHAR* szAction)
{
// internal IMAccessible - no mutex meeded
@@ -3016,7 +3016,7 @@ void CMAccessible::ConvertAnyToVariant(const css::uno::Any &rAnyVal, VARIANT *pv
}
}
-STDMETHODIMP CMAccessible::Get_XAccChildID(long* childID)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::Get_XAccChildID(long* childID)
{
// internal IMAccessible - no mutex meeded
@@ -3028,7 +3028,7 @@ STDMETHODIMP CMAccessible::Get_XAccChildID(long* childID)
return S_OK;
}
-STDMETHODIMP CMAccessible:: get_states(AccessibleStates __RPC_FAR *states )
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_states(AccessibleStates __RPC_FAR *states )
{
SolarMutexGuard g;
@@ -3067,29 +3067,29 @@ STDMETHODIMP CMAccessible:: get_states(AccessibleStates __RPC_FAR *states )
}
// return the UNO roles
-STDMETHODIMP CMAccessible:: get_extendedRole( BSTR __RPC_FAR * )
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_extendedRole( BSTR __RPC_FAR * )
{
return E_NOTIMPL;
}
-STDMETHODIMP CMAccessible:: get_localizedExtendedRole( BSTR __RPC_FAR * )
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_localizedExtendedRole( BSTR __RPC_FAR * )
{
return E_NOTIMPL;
}
-STDMETHODIMP CMAccessible:: get_nExtendedStates( long __RPC_FAR * )
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_nExtendedStates( long __RPC_FAR * )
{
return E_NOTIMPL;
}
-STDMETHODIMP CMAccessible:: get_localizedExtendedStates( long, BSTR __RPC_FAR *__RPC_FAR *, long __RPC_FAR *)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_localizedExtendedStates( long, BSTR __RPC_FAR *__RPC_FAR *, long __RPC_FAR *)
{
return E_NOTIMPL;
}
-STDMETHODIMP CMAccessible:: get_indexInParent( long __RPC_FAR *accParentIndex)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_indexInParent( long __RPC_FAR *accParentIndex)
{
ENTER_PROTECTED_BLOCK
ISDESTROY()
@@ -3106,7 +3106,7 @@ STDMETHODIMP CMAccessible:: get_indexInParent( long __RPC_FAR *accParentIndex)
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible:: get_locale( IA2Locale __RPC_FAR *locale )
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_locale( IA2Locale __RPC_FAR *locale )
{
ENTER_PROTECTED_BLOCK
ISDESTROY()
@@ -3126,7 +3126,7 @@ STDMETHODIMP CMAccessible:: get_locale( IA2Locale __RPC_FAR *locale )
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible:: get_appName( BSTR __RPC_FAR *name)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_appName( BSTR __RPC_FAR *name)
{
SolarMutexGuard g;
@@ -3139,7 +3139,7 @@ STDMETHODIMP CMAccessible:: get_appName( BSTR __RPC_FAR *name)
return S_OK;
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible:: get_appVersion(BSTR __RPC_FAR *version)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_appVersion(BSTR __RPC_FAR *version)
{
SolarMutexGuard g;
@@ -3151,7 +3151,7 @@ STDMETHODIMP CMAccessible:: get_appVersion(BSTR __RPC_FAR *version)
return S_OK;
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible:: get_toolkitName(BSTR __RPC_FAR *name)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_toolkitName(BSTR __RPC_FAR *name)
{
SolarMutexGuard g;
@@ -3163,7 +3163,7 @@ STDMETHODIMP CMAccessible:: get_toolkitName(BSTR __RPC_FAR *name)
return S_OK;
LEAVE_PROTECTED_BLOCK
}
-STDMETHODIMP CMAccessible:: get_toolkitVersion(BSTR __RPC_FAR *version)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible:: get_toolkitVersion(BSTR __RPC_FAR *version)
{
SolarMutexGuard g;
@@ -3177,7 +3177,7 @@ STDMETHODIMP CMAccessible:: get_toolkitVersion(BSTR __RPC_FAR *version)
}
-STDMETHODIMP CMAccessible::get_attributes(/*[out]*/ BSTR *pAttr)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CMAccessible::get_attributes(/*[out]*/ BSTR *pAttr)
{
SolarMutexGuard g;
diff --git a/winaccessibility/source/UAccCOM/UNOXWrapper.cxx b/winaccessibility/source/UAccCOM/UNOXWrapper.cxx
index 3f553fc62ed2..cc43370b64c6 100644
--- a/winaccessibility/source/UAccCOM/UNOXWrapper.cxx
+++ b/winaccessibility/source/UAccCOM/UNOXWrapper.cxx
@@ -34,13 +34,13 @@ using namespace ::com::sun::star;
// CUNOXWrapper
-STDMETHODIMP CUNOXWrapper::put_XInterface(hyper nXInterface)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CUNOXWrapper::put_XInterface(hyper nXInterface)
{
pUNOInterface = reinterpret_cast<accessibility::XAccessible*>(nXInterface);
return S_OK;
}
-STDMETHODIMP CUNOXWrapper::put_XSubInterface(hyper)
+COM_DECLSPEC_NOTHROW STDMETHODIMP CUNOXWrapper::put_XSubInterface(hyper)
{
return S_OK;
}