summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:47:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:09 +0100
commit2bba0a173d5a7eb2fc41871e86bdc4a2a3d3ef8f (patch)
tree4c8659ff40836e4202b558f7ec43bce43b16180f /vcl/unx/gtk
parent6cf68af560b45b753836c4d3dc8b00aef1a34123 (diff)
New loplugin:dynexcspec: Add @throws documentation, vcl
Change-Id: Icc398ec6cbb9152ee86b4ac0003619ae04206cd6
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r--vcl/unx/gtk/a11y/atkaction.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atkcomponent.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atkeditabletext.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atkhypertext.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atkimage.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atkselection.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atktable.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atktext.cxx4
-rw-r--r--vcl/unx/gtk/a11y/atktextattributes.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atkutil.cxx14
-rw-r--r--vcl/unx/gtk/a11y/atkvalue.cxx1
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkPicker.hxx4
12 files changed, 31 insertions, 0 deletions
diff --git a/vcl/unx/gtk/a11y/atkaction.cxx b/vcl/unx/gtk/a11y/atkaction.cxx
index ef3c2ba4e9f1..3dc2fea35c72 100644
--- a/vcl/unx/gtk/a11y/atkaction.cxx
+++ b/vcl/unx/gtk/a11y/atkaction.cxx
@@ -43,6 +43,7 @@ getAsConst( const OString& rString )
return aUgly[ nIdx ].getStr();
}
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleAction>
getAction( AtkAction *action ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/a11y/atkcomponent.cxx b/vcl/unx/gtk/a11y/atkcomponent.cxx
index 60600b2e9ff0..84ab86b0c87a 100644
--- a/vcl/unx/gtk/a11y/atkcomponent.cxx
+++ b/vcl/unx/gtk/a11y/atkcomponent.cxx
@@ -23,6 +23,7 @@
using namespace ::com::sun::star;
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleComponent>
getComponent( AtkComponent *pComponent ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/a11y/atkeditabletext.cxx b/vcl/unx/gtk/a11y/atkeditabletext.cxx
index ee984bdeb7b6..d7dda03a5321 100644
--- a/vcl/unx/gtk/a11y/atkeditabletext.cxx
+++ b/vcl/unx/gtk/a11y/atkeditabletext.cxx
@@ -27,6 +27,7 @@
using namespace ::com::sun::star;
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleEditableText>
getEditableText( AtkEditableText *pEditableText ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/a11y/atkhypertext.cxx b/vcl/unx/gtk/a11y/atkhypertext.cxx
index 4c28babf9ee2..4a10b3c82733 100644
--- a/vcl/unx/gtk/a11y/atkhypertext.cxx
+++ b/vcl/unx/gtk/a11y/atkhypertext.cxx
@@ -189,6 +189,7 @@ hyper_link_get_type()
// ---------------------- AtkHyperText ----------------------
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleHypertext>
getHypertext( AtkHypertext *pHypertext ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/a11y/atkimage.cxx b/vcl/unx/gtk/a11y/atkimage.cxx
index 873cddddbcd2..88897210fb2a 100644
--- a/vcl/unx/gtk/a11y/atkimage.cxx
+++ b/vcl/unx/gtk/a11y/atkimage.cxx
@@ -35,6 +35,7 @@ getAsConst( const OUString& rString )
return aUgly[ nIdx ].getStr();
}
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleImage>
getImage( AtkImage *pImage ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/a11y/atkselection.cxx b/vcl/unx/gtk/a11y/atkselection.cxx
index 62dd4289fab7..39bf065cbb37 100644
--- a/vcl/unx/gtk/a11y/atkselection.cxx
+++ b/vcl/unx/gtk/a11y/atkselection.cxx
@@ -23,6 +23,7 @@
using namespace ::com::sun::star;
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleSelection>
getSelection( AtkSelection *pSelection ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/a11y/atktable.cxx b/vcl/unx/gtk/a11y/atktable.cxx
index 75dd5a11dbde..26fdef1659b2 100644
--- a/vcl/unx/gtk/a11y/atktable.cxx
+++ b/vcl/unx/gtk/a11y/atktable.cxx
@@ -48,6 +48,7 @@ getAsConst( const OUString& rString )
/*****************************************************************************/
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleTable>
getTable( AtkTable *pTable ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/a11y/atktext.cxx b/vcl/unx/gtk/a11y/atktext.cxx
index fbfd0fb41e11..b08edd1fa18f 100644
--- a/vcl/unx/gtk/a11y/atktext.cxx
+++ b/vcl/unx/gtk/a11y/atktext.cxx
@@ -133,6 +133,7 @@ adjust_boundaries( css::uno::Reference<css::accessibility::XAccessibleText> cons
/*****************************************************************************/
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleText>
getText( AtkText *pText ) throw (uno::RuntimeException)
{
@@ -149,6 +150,7 @@ static css::uno::Reference<css::accessibility::XAccessibleText>
/*****************************************************************************/
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleTextMarkup>
getTextMarkup( AtkText *pText ) throw (uno::RuntimeException)
{
@@ -165,6 +167,7 @@ static css::uno::Reference<css::accessibility::XAccessibleTextMarkup>
/*****************************************************************************/
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleTextAttributes>
getTextAttributes( AtkText *pText ) throw (uno::RuntimeException)
{
@@ -181,6 +184,7 @@ static css::uno::Reference<css::accessibility::XAccessibleTextAttributes>
/*****************************************************************************/
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleMultiLineText>
getMultiLineText( AtkText *pText ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/a11y/atktextattributes.cxx b/vcl/unx/gtk/a11y/atktextattributes.cxx
index f9d4bb26674f..4fa1afb42266 100644
--- a/vcl/unx/gtk/a11y/atktextattributes.cxx
+++ b/vcl/unx/gtk/a11y/atktextattributes.cxx
@@ -207,6 +207,7 @@ String2Float( uno::Any& rAny, const gchar * value )
/*****************************************************************************/
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleComponent>
getComponent( AtkText *pText ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx
index 4a6db3dfcbd3..da165245be0b 100644
--- a/vcl/unx/gtk/a11y/atkutil.cxx
+++ b/vcl/unx/gtk/a11y/atkutil.cxx
@@ -139,36 +139,50 @@ class DocumentFocusListener :
std::set< uno::Reference< uno::XInterface > > m_aRefList;
public:
+ /// @trhows lang::IndexOutOfBoundsException
+ /// @throws uno::RuntimeException
void attachRecursive(
const uno::Reference< accessibility::XAccessible >& xAccessible
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
+ /// @trhows lang::IndexOutOfBoundsException
+ /// @throws uno::RuntimeException
void attachRecursive(
const uno::Reference< accessibility::XAccessible >& xAccessible,
const uno::Reference< accessibility::XAccessibleContext >& xContext
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
+ /// @trhows lang::IndexOutOfBoundsException
+ /// @throws uno::RuntimeException
void attachRecursive(
const uno::Reference< accessibility::XAccessible >& xAccessible,
const uno::Reference< accessibility::XAccessibleContext >& xContext,
const uno::Reference< accessibility::XAccessibleStateSet >& xStateSet
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
+ /// @trhows lang::IndexOutOfBoundsException
+ /// @throws uno::RuntimeException
void detachRecursive(
const uno::Reference< accessibility::XAccessible >& xAccessible
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
+ /// @trhows lang::IndexOutOfBoundsException
+ /// @throws uno::RuntimeException
void detachRecursive(
const uno::Reference< accessibility::XAccessible >& xAccessible,
const uno::Reference< accessibility::XAccessibleContext >& xContext
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
+ /// @trhows lang::IndexOutOfBoundsException
+ /// @throws uno::RuntimeException
void detachRecursive(
const uno::Reference< accessibility::XAccessible >& xAccessible,
const uno::Reference< accessibility::XAccessibleContext >& xContext,
const uno::Reference< accessibility::XAccessibleStateSet >& xStateSet
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
+ /// @trhows lang::IndexOutOfBoundsException
+ /// @throws uno::RuntimeException
static uno::Reference< accessibility::XAccessible > getAccessible(const lang::EventObject& aEvent )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
diff --git a/vcl/unx/gtk/a11y/atkvalue.cxx b/vcl/unx/gtk/a11y/atkvalue.cxx
index def434be6e75..067333af5916 100644
--- a/vcl/unx/gtk/a11y/atkvalue.cxx
+++ b/vcl/unx/gtk/a11y/atkvalue.cxx
@@ -25,6 +25,7 @@
using namespace ::com::sun::star;
+/// @throws uno::RuntimeException
static css::uno::Reference<css::accessibility::XAccessibleValue>
getValue( AtkValue *pValue ) throw (uno::RuntimeException)
{
diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
index abee669c2c8b..74c46af9c995 100644
--- a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
+++ b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
@@ -49,12 +49,16 @@ class SalGtkPicker
osl::Mutex m_rbHelperMtx;
GtkWidget *m_pDialog;
protected:
+ /// @throws css::uno::RuntimeException
void SAL_CALL implsetTitle( const OUString& aTitle )
throw( css::uno::RuntimeException );
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::uno::RuntimeException
void SAL_CALL implsetDisplayDirectory( const OUString& rDirectory )
throw( css::lang::IllegalArgumentException, css::uno::RuntimeException );
+ /// @throws css::uno::RuntimeException
OUString SAL_CALL implgetDisplayDirectory( )
throw( css::uno::RuntimeException );
OUString uritounicode(const gchar *pIn);