[Libreoffice-commits] core.git: 5 commits - avmedia/source connectivity/source fpicker/source lingucomponent/source vcl/osx
Stephan Bergmann
sbergman at redhat.com
Fri Jan 20 12:00:31 UTC 2017
avmedia/source/macavf/player.hxx | 2 +
connectivity/source/drivers/macab/MacabConnection.hxx | 2 +
connectivity/source/drivers/macab/MacabDriver.hxx | 3 ++
connectivity/source/drivers/macab/MacabPreparedStatement.hxx | 2 +
connectivity/source/drivers/macab/MacabResultSetMetaData.hxx | 1
connectivity/source/drivers/macab/MacabStatement.hxx | 7 +++++
connectivity/source/drivers/macab/macabcondition.hxx | 7 +++++
fpicker/source/aqua/FilterHelper.hxx | 7 +++++
fpicker/source/aqua/SalAquaFilePicker.hxx | 1
fpicker/source/aqua/SalAquaPicker.hxx | 4 +++
lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 2 -
vcl/osx/documentfocuslistener.hxx | 14 +++++++++++
12 files changed, 51 insertions(+), 1 deletion(-)
New commits:
commit 951c940e6e97dfa8d596a86c6c5ff3ba61900ae8
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 20 12:59:28 2017 +0100
loplugin:dynexcspec (macOS), vcl
Change-Id: I83dfd406eefe9d50fa382eede45882abe669bc96
diff --git a/vcl/osx/documentfocuslistener.hxx b/vcl/osx/documentfocuslistener.hxx
index f48cb1a..2a06b78 100644
--- a/vcl/osx/documentfocuslistener.hxx
+++ b/vcl/osx/documentfocuslistener.hxx
@@ -37,36 +37,50 @@ public:
explicit DocumentFocusListener(AquaA11yFocusTracker& rTracker);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
void attachRecursive(
const css::uno::Reference< css::accessibility::XAccessible >& xAccessible
) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
void attachRecursive(
const css::uno::Reference< css::accessibility::XAccessible >& xAccessible,
const css::uno::Reference< css::accessibility::XAccessibleContext >& xContext
) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
void attachRecursive(
const css::uno::Reference< css::accessibility::XAccessible >& xAccessible,
const css::uno::Reference< css::accessibility::XAccessibleContext >& xContext,
const css::uno::Reference< css::accessibility::XAccessibleStateSet >& xStateSet
) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
void detachRecursive(
const css::uno::Reference< css::accessibility::XAccessible >& xAccessible
) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
void detachRecursive(
const css::uno::Reference< css::accessibility::XAccessible >& xAccessible,
const css::uno::Reference< css::accessibility::XAccessibleContext >& xContext
) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
void detachRecursive(
const css::uno::Reference< css::accessibility::XAccessible >& xAccessible,
const css::uno::Reference< css::accessibility::XAccessibleContext >& xContext,
const css::uno::Reference< css::accessibility::XAccessibleStateSet >& xStateSet
) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
+ /// @throws css::lang::IndexOutOfBoundsException
+ /// @throws css::uno::RuntimeException
static css::uno::Reference< css::accessibility::XAccessible > getAccessible(const css::lang::EventObject& aEvent )
throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException);
commit 2d26f7fb7f4f2cb1a7ea96486d2a9d25a4638c2e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 20 12:59:11 2017 +0100
loplugin:dynexcspec (macOS), lingucomponent
Change-Id: I11f7419babd1ceb158ab0a329dd3d8699b7b2702
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
index 959d518..7378beb 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
@@ -399,7 +399,7 @@ Reference< XSpellAlternatives > SAL_CALL
return xAlt;
}
-
+/// @throws Exception
Reference< XInterface > SAL_CALL MacSpellChecker_CreateInstance(
const Reference< XMultiServiceFactory > & /*rSMgr*/ )
throw(Exception)
commit 0e4cbd1f1b4022186e66e6194c2608f5dabd7a7a
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 20 12:58:51 2017 +0100
loplugin:dynexcspec (macOS), fpicker
Change-Id: Id983c735f24ad22fd7eaa359759a4030a773ea83
diff --git a/fpicker/source/aqua/FilterHelper.hxx b/fpicker/source/aqua/FilterHelper.hxx
index 67c5d5d..dc49f35 100644
--- a/fpicker/source/aqua/FilterHelper.hxx
+++ b/fpicker/source/aqua/FilterHelper.hxx
@@ -81,16 +81,23 @@ public:
virtual ~FilterHelper();
//XFilterManager delegates
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::uno::RuntimeException
void SAL_CALL appendFilter( const OUString& aTitle, const OUString& aFilter )
throw( css::lang::IllegalArgumentException, css::uno::RuntimeException );
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::uno::RuntimeException
void SAL_CALL setCurrentFilter( const OUString& aTitle )
throw( css::lang::IllegalArgumentException, css::uno::RuntimeException );
+ /// @throws css::uno::RuntimeException
OUString SAL_CALL getCurrentFilter( )
throw( css::uno::RuntimeException );
//XFilterGroupManager delegates
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::uno::RuntimeException
void SAL_CALL appendFilterGroup( const OUString& sGroupTitle, const css::uno::Sequence< css::beans::StringPair >& aFilters )
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
diff --git a/fpicker/source/aqua/SalAquaFilePicker.hxx b/fpicker/source/aqua/SalAquaFilePicker.hxx
index a84e6b5..658fa7d 100644
--- a/fpicker/source/aqua/SalAquaFilePicker.hxx
+++ b/fpicker/source/aqua/SalAquaFilePicker.hxx
@@ -132,6 +132,7 @@ public:
// XEventListener
using cppu::WeakComponentImplHelperBase::disposing;
+ /// @throws css::uno::RuntimeException
virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent )
throw(css::uno::RuntimeException);
diff --git a/fpicker/source/aqua/SalAquaPicker.hxx b/fpicker/source/aqua/SalAquaPicker.hxx
index 3459055..c91cb32 100644
--- a/fpicker/source/aqua/SalAquaPicker.hxx
+++ b/fpicker/source/aqua/SalAquaPicker.hxx
@@ -72,12 +72,16 @@ protected:
NavigationServices_DialogType m_nDialogType;
+ /// @throws css::uno::RuntimeException
void implsetTitle( const OUString& aTitle )
throw( css::uno::RuntimeException );
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::uno::RuntimeException
void implsetDisplayDirectory( const OUString& rDirectory )
throw( css::lang::IllegalArgumentException, css::uno::RuntimeException );
+ /// @throws css::uno::RuntimeException
OUString const & implgetDisplayDirectory( )
throw( css::uno::RuntimeException );
commit 0494fc3f91d7a20f44e9e3c4b53aa987858e1de4
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 20 12:58:36 2017 +0100
loplugin:dynexcspec (macOS), connectivity
Change-Id: Ic8cd364cd27f7f7669ac8d5553fc3974b5f8c992
diff --git a/connectivity/source/drivers/macab/MacabConnection.hxx b/connectivity/source/drivers/macab/MacabConnection.hxx
index 6312be2..0c22586 100644
--- a/connectivity/source/drivers/macab/MacabConnection.hxx
+++ b/connectivity/source/drivers/macab/MacabConnection.hxx
@@ -65,11 +65,13 @@ namespace connectivity
m_xCatalog; // needed for the SQL interpreter
public:
+ /// @throws css::sdbc::SQLException
virtual void construct( const OUString& url,const css::uno::Sequence< css::beans::PropertyValue >& info) throw(css::sdbc::SQLException);
explicit MacabConnection(MacabDriver* _pDriver);
virtual ~MacabConnection() override;
+ /// @throws css::sdbc::SQLException
void closeAllStatements () throw( css::sdbc::SQLException);
// OComponentHelper
diff --git a/connectivity/source/drivers/macab/MacabDriver.hxx b/connectivity/source/drivers/macab/MacabDriver.hxx
index 20063ff..e150afc 100644
--- a/connectivity/source/drivers/macab/MacabDriver.hxx
+++ b/connectivity/source/drivers/macab/MacabDriver.hxx
@@ -118,10 +118,13 @@ namespace connectivity
MacabImplModule m_aImplModule;
public:
+ /// @throws css::uno::Exception
static css::uno::Reference< css::uno::XInterface > SAL_CALL Create(const css::uno::Reference< css::lang::XMultiServiceFactory >& _rxFactory) throw( css::uno::Exception );
// XServiceInfo - static versions
+ /// @throws css::uno::RuntimeException
static OUString getImplementationName_Static( ) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
static css::uno::Sequence< OUString > getSupportedServiceNames_Static( ) throw (css::uno::RuntimeException);
css::uno::Reference< css::uno::XComponentContext > const &
diff --git a/connectivity/source/drivers/macab/MacabPreparedStatement.hxx b/connectivity/source/drivers/macab/MacabPreparedStatement.hxx
index c548b0f..312326e 100644
--- a/connectivity/source/drivers/macab/MacabPreparedStatement.hxx
+++ b/connectivity/source/drivers/macab/MacabPreparedStatement.hxx
@@ -47,7 +47,9 @@ namespace connectivity
mutable sal_Int32 m_nParameterIndex;
OValueRow m_aParameterRow;
+ /// @throws css::sdbc::SQLException
void checkAndResizeParameters(sal_Int32 nParams) throw(css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
void setMacabFields() const throw(css::sdbc::SQLException);
protected:
diff --git a/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx b/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx
index 205ee53..cc7ccf3 100644
--- a/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx
+++ b/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx
@@ -53,6 +53,7 @@ namespace connectivity
inline operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw()
{ return this; }
+ /// @throws css::sdbc::SQLException
void setMacabFields(
const ::rtl::Reference<connectivity::OSQLColumns> &xColumns) throw(css::sdbc::SQLException);
inline sal_uInt32 fieldAtColumn(sal_Int32 columnIndex) const
diff --git a/connectivity/source/drivers/macab/MacabStatement.hxx b/connectivity/source/drivers/macab/MacabStatement.hxx
index aaaa4b2..0d2f4c2 100644
--- a/connectivity/source/drivers/macab/MacabStatement.hxx
+++ b/connectivity/source/drivers/macab/MacabStatement.hxx
@@ -64,13 +64,18 @@ namespace connectivity
protected:
+ /// @throws css::sdbc::SQLException
class MacabCondition *analyseWhereClause(
const OSQLParseNode *pParseNode) const throw(css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
class MacabOrder *analyseOrderByClause(
const OSQLParseNode *pParseNode) const throw(css::sdbc::SQLException);
OUString getTableName( ) const;
+ /// @throws css::sdbc::SQLException
void setMacabFields(class MacabResultSet *pResult) const throw(css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
void selectRecords(MacabResultSet *pResult) const throw(css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
void sortRecords(MacabResultSet *pResult) const throw(css::sdbc::SQLException);
// OPropertyArrayUsageHelper
@@ -90,7 +95,9 @@ namespace connectivity
css::uno::Any& rValue,
sal_Int32 nHandle) const override;
+ /// @throws css::sdbc::SQLException
virtual void resetParameters() const throw(css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
virtual void getNextParameter(OUString &rParameter) const throw(css::sdbc::SQLException);
virtual ~MacabCommonStatement() override;
diff --git a/connectivity/source/drivers/macab/macabcondition.hxx b/connectivity/source/drivers/macab/macabcondition.hxx
index 08b82dc..24a5a32 100644
--- a/connectivity/source/drivers/macab/macabcondition.hxx
+++ b/connectivity/source/drivers/macab/macabcondition.hxx
@@ -58,6 +58,7 @@ class MacabConditionColumn : public MacabCondition
sal_Int32 m_nFieldNumber;
public:
+ /// @throws css::sdbc::SQLException
MacabConditionColumn(
const MacabHeader *header,
const OUString &sColumnName) throw(css::sdbc::SQLException);
@@ -68,6 +69,7 @@ class MacabConditionColumn : public MacabCondition
class MacabConditionNull : public MacabConditionColumn
{
public:
+ /// @throws css::sdbc::SQLException
MacabConditionNull(
const MacabHeader *header,
const OUString &sColumnName) throw(css::sdbc::SQLException);
@@ -77,6 +79,7 @@ class MacabConditionNull : public MacabConditionColumn
class MacabConditionNotNull : public MacabConditionColumn
{
public:
+ /// @throws css::sdbc::SQLException
MacabConditionNotNull(
const MacabHeader *header,
const OUString &sColumnName) throw(css::sdbc::SQLException);
@@ -89,6 +92,7 @@ class MacabConditionCompare : public MacabConditionColumn
const OUString m_sMatchString;
public:
+ /// @throws css::sdbc::SQLException
MacabConditionCompare(
const MacabHeader *header,
const OUString &sColumnName,
@@ -98,6 +102,7 @@ class MacabConditionCompare : public MacabConditionColumn
class MacabConditionEqual : public MacabConditionCompare
{
public:
+ /// @throws css::sdbc::SQLException
MacabConditionEqual(
const MacabHeader *header,
const OUString &sColumnName,
@@ -108,6 +113,7 @@ class MacabConditionEqual : public MacabConditionCompare
class MacabConditionDifferent : public MacabConditionCompare
{
public:
+ /// @throws css::sdbc::SQLException
MacabConditionDifferent(
const MacabHeader *header,
const OUString &sColumnName,
@@ -118,6 +124,7 @@ class MacabConditionDifferent : public MacabConditionCompare
class MacabConditionSimilar : public MacabConditionCompare
{
public:
+ /// @throws css::sdbc::SQLException
MacabConditionSimilar(
const MacabHeader *header,
const OUString &sColumnName,
commit b417956f61a02d1d84ebfa1887a1d549063ad7e5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 20 12:58:18 2017 +0100
loplugin:dynexcspec (macOS), avmedia
Change-Id: I71199437cfaaf5f72f3b38a3269e2ae84b282c6d
diff --git a/avmedia/source/macavf/player.hxx b/avmedia/source/macavf/player.hxx
index 86373b8..b02400b 100644
--- a/avmedia/source/macavf/player.hxx
+++ b/avmedia/source/macavf/player.hxx
@@ -47,7 +47,9 @@ public:
virtual double SAL_CALL getDuration() throw (css::uno::RuntimeException) override;
virtual void SAL_CALL setMediaTime( double fTime ) throw (css::uno::RuntimeException) override;
virtual double SAL_CALL getMediaTime() throw (css::uno::RuntimeException) override;
+ /// @throws css::uno::RuntimeException
virtual void SAL_CALL setStopTime( double fTime ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
virtual double SAL_CALL getStopTime() throw (css::uno::RuntimeException);
virtual void SAL_CALL setPlaybackLoop( sal_Bool bSet ) throw (css::uno::RuntimeException) override;
virtual sal_Bool SAL_CALL isPlaybackLoop() throw (css::uno::RuntimeException) override;
More information about the Libreoffice-commits
mailing list