[Libreoffice-commits] core.git: 3 commits - connectivity/source embeddedobj/source xmlsecurity/source
Stephan Bergmann
sbergman at redhat.com
Fri Jan 20 10:53:55 UTC 2017
connectivity/source/inc/ado/AConnection.hxx | 5 +
connectivity/source/inc/ado/ADatabaseMetaData.hxx | 6 +
connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx | 17 ++++
connectivity/source/inc/ado/ADriver.hxx | 2
connectivity/source/inc/ado/APreparedStatement.hxx | 2
connectivity/source/inc/ado/AResultSet.hxx | 16 ++++
connectivity/source/inc/ado/AStatement.hxx | 38 +++++++++-
connectivity/source/inc/ado/ATable.hxx | 2
connectivity/source/inc/ado/ATables.hxx | 2
connectivity/source/inc/ado/AViews.hxx | 2
connectivity/source/inc/ado/adoimp.hxx | 4 +
embeddedobj/source/inc/oleembobj.hxx | 1
embeddedobj/source/msole/olepersist.cxx | 2
xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx | 25 ++++++
xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx | 1
xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx | 1
xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx | 1
xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.hxx | 1
xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx | 1
19 files changed, 127 insertions(+), 2 deletions(-)
New commits:
commit 8cb18eb82d08b140e36b6a06dae30f967b8444c9
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 20 11:52:49 2017 +0100
loplugin:dynexcspec (clang-cl), xmlsecurity
Change-Id: Iaa817d1da0c648c3a1feb0ef1e4500808a868644
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx
index 3f4129a..3a4280b 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx
@@ -134,6 +134,7 @@ class SecurityEnvironment_MSCryptImpl : public ::cppu::WeakImplHelper<
//Helper for XServiceInfo
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
+ /// @throws css::uno::RuntimeException
static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ;
//Helper for registry
@@ -151,23 +152,47 @@ class SecurityEnvironment_MSCryptImpl : public ::cppu::WeakImplHelper<
static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() ;
static SecurityEnvironment_MSCryptImpl* getImplementation( const css::uno::Reference< css::uno::XInterface >& rObj ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
HCRYPTPROV getCryptoProvider() throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
void setCryptoProvider( HCRYPTPROV aProv ) throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
LPCTSTR getKeyContainer() throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
void setKeyContainer( LPCTSTR aKeyContainer ) throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
HCERTSTORE getCryptoSlot() throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
void setCryptoSlot( HCERTSTORE aKeyStore ) throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
HCERTSTORE getCertDb() throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
void setCertDb( HCERTSTORE aCertDb ) throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
void enableDefaultCrypt( bool enable ) throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
bool defaultEnabled() throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
xmlSecKeysMngrPtr createKeysManager() throw( css::uno::Exception , css::uno::RuntimeException ) ;
+ /// @throws css::uno::Exception
+ /// @throws css::uno::RuntimeException
static void destroyKeysManager(xmlSecKeysMngrPtr pKeysMngr) throw( css::uno::Exception , css::uno::RuntimeException ) ;
} ;
diff --git a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx
index 46c698c..b36da2d 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx
@@ -74,6 +74,7 @@ public:
throw (css::uno::RuntimeException) override;
};
+/// @throws css::uno::RuntimeException
OUString SEInitializer_MSCryptImpl_getImplementationName()
throw ( css::uno::RuntimeException );
diff --git a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx
index 54997cd..27be653 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx
@@ -87,6 +87,7 @@ class X509Certificate_MSCryptImpl : public ::cppu::WeakImplHelper<
//Helper methods
void setMswcryCert( const CERT_CONTEXT* cert ) ;
const CERT_CONTEXT* getMswcryCert() const ;
+ /// @throws css::uno::RuntimeException
void setRawCert( css::uno::Sequence< sal_Int8 > const & rawCert ) throw ( css::uno::RuntimeException) ;
} ;
diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx
index 27c0b80..5d773a2 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx
@@ -71,6 +71,7 @@ class XMLEncryption_MSCryptImpl : public ::cppu::WeakImplHelper<
//Helper for XServiceInfo
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
+ /// @throws css::uno::RuntimeException
static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ;
//Helper for registry
diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.hxx
index ae8eaba..4ed4153 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.hxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.hxx
@@ -84,6 +84,7 @@ class XMLSecurityContext_MSCryptImpl : public ::cppu::WeakImplHelper<
//Helper for XServiceInfo
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
+ /// @throws css::uno::RuntimeException
static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ;
//Helper for registry
diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx
index ea551f5..32def55 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx
@@ -71,6 +71,7 @@ class XMLSignature_MSCryptImpl : public ::cppu::WeakImplHelper<
//Helper for XServiceInfo
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
+ /// @throws css::uno::RuntimeException
static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ;
//Helper for registry
commit 8ec11cea966e7101f7d3d8f2aba0841267272a93
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 20 11:52:41 2017 +0100
loplugin:dynexcspec (clang-cl), embeddedobj
Change-Id: Iccb2a91319f8cbc300f0e428b06b0580432089a6
diff --git a/embeddedobj/source/inc/oleembobj.hxx b/embeddedobj/source/inc/oleembobj.hxx
index 628a4bc..9fad90f 100644
--- a/embeddedobj/source/inc/oleembobj.hxx
+++ b/embeddedobj/source/inc/oleembobj.hxx
@@ -245,6 +245,7 @@ protected:
bool bSaveAs )
throw ( css::uno::Exception );
#ifdef _WIN32
+ /// @throws css::uno::Exception
void StoreObjectToStream( css::uno::Reference< css::io::XOutputStream > const & xOutStream )
throw ( css::uno::Exception );
#endif
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index eb5737d..d9bf6d9 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -155,6 +155,8 @@ OUString GetNewFilledTempFile_Impl( const uno::Reference< io::XInputStream >& xI
return aResult;
}
#ifdef _WIN32
+/// @throws io::IOException
+/// @throws uno::RuntimeException
OUString GetNewFilledTempFile_Impl( const uno::Reference< embed::XOptimizedStorage >& xParentStorage, const OUString& aEntryName, const uno::Reference< lang::XMultiServiceFactory >& xFactory )
throw( io::IOException, uno::RuntimeException )
{
commit c6f6d0b7219052557c2df3cb9d27dd2c09b3168e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 20 11:52:04 2017 +0100
loplugin:dynexcspec (clang-cl), connectivity
Change-Id: Ia49a11d4f707764640ea497d877d1699183ca56e
diff --git a/connectivity/source/inc/ado/AConnection.hxx b/connectivity/source/inc/ado/AConnection.hxx
index c283206..71e0988 100644
--- a/connectivity/source/inc/ado/AConnection.hxx
+++ b/connectivity/source/inc/ado/AConnection.hxx
@@ -70,14 +70,17 @@ namespace connectivity
bool m_bAutocommit;
protected:
+ /// @throws css::sdbc::SQLException
void buildTypeInfo() throw( css::sdbc::SQLException);
public:
-
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
OConnection(ODriver* _pDriver) throw(css::sdbc::SQLException, css::uno::RuntimeException);
// OConnection(const SQLHANDLE _pConnectionHandle);
~OConnection() override;
void construct(const OUString& url,const css::uno::Sequence< css::beans::PropertyValue >& info);
+ /// @throws css::sdbc::SQLException
void closeAllStatements () throw( css::sdbc::SQLException);
//XUnoTunnel
diff --git a/connectivity/source/inc/ado/ADatabaseMetaData.hxx b/connectivity/source/inc/ado/ADatabaseMetaData.hxx
index 8bd5452..18b0453 100644
--- a/connectivity/source/inc/ado/ADatabaseMetaData.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaData.hxx
@@ -53,8 +53,14 @@ namespace connectivity
OUString getLiteral(sal_uInt32 _nProperty);
// get info out of propertyst
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
OUString getStringProperty(const OUString& _aProperty) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getInt32Property(const OUString& _aProperty) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
bool getBoolProperty(const OUString& _aProperty) throw(css::sdbc::SQLException, css::uno::RuntimeException);
virtual css::uno::Reference< css::sdbc::XResultSet > impl_getTypeInfo_throw() override;
diff --git a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
index 316c980..c10bdeb 100644
--- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
@@ -75,18 +75,35 @@ namespace connectivity
bool m_bEOF;
bool m_bOnFirstAfterOpen;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static sal_Int32 getResultSetConcurrency() throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static sal_Int32 getResultSetType() throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static sal_Int32 getFetchDirection() throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getFetchSize() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static OUString getCursorName() throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setFetchDirection(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setFetchSize(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
inline sal_Int32 mapColumn (sal_Int32 column);
+ /// @throws css::sdbc::SQLException
void checkRecordSet() throw(css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
OLEVariant getValue(sal_Int32 columnIndex ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
protected:
diff --git a/connectivity/source/inc/ado/ADriver.hxx b/connectivity/source/inc/ado/ADriver.hxx
index 74ae683..0034353 100644
--- a/connectivity/source/inc/ado/ADriver.hxx
+++ b/connectivity/source/inc/ado/ADriver.hxx
@@ -58,7 +58,9 @@ namespace connectivity
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XInterface
+ /// @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::lang::XMultiServiceFactory > getORB() const { return m_xORB; }
diff --git a/connectivity/source/inc/ado/APreparedStatement.hxx b/connectivity/source/inc/ado/APreparedStatement.hxx
index 73fce94..3b25110 100644
--- a/connectivity/source/inc/ado/APreparedStatement.hxx
+++ b/connectivity/source/inc/ado/APreparedStatement.hxx
@@ -43,6 +43,8 @@ namespace connectivity
public css::lang::XServiceInfo
{
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setParameter(sal_Int32 parameterIndex, const DataTypeEnum& _eType, sal_Int32 _nSize,const OLEVariant& Val)
throw(css::sdbc::SQLException, css::uno::RuntimeException);
void replaceParameterNodeName( OSQLParseNode* _pNode,
diff --git a/connectivity/source/inc/ado/AResultSet.hxx b/connectivity/source/inc/ado/AResultSet.hxx
index a8b1ae9..a54936a 100644
--- a/connectivity/source/inc/ado/AResultSet.hxx
+++ b/connectivity/source/inc/ado/AResultSet.hxx
@@ -73,15 +73,31 @@ namespace connectivity
bool m_bEOF;
bool m_bOnFirstAfterOpen;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getResultSetConcurrency() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getResultSetType() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static sal_Int32 getFetchDirection() throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getFetchSize() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static OUString getCursorName() throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setFetchDirection(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setFetchSize(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
void updateValue(sal_Int32 columnIndex,const OLEVariant& x);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
OLEVariant getValue(sal_Int32 columnIndex ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
protected:
diff --git a/connectivity/source/inc/ado/AStatement.hxx b/connectivity/source/inc/ado/AStatement.hxx
index 976af47..dee1d80 100644
--- a/connectivity/source/inc/ado/AStatement.hxx
+++ b/connectivity/source/inc/ado/AStatement.hxx
@@ -82,33 +82,69 @@ namespace connectivity
using OStatement_BASE::rBHelper;
private:
-
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getQueryTimeOut() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static sal_Int32 getMaxFieldSize() throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getMaxRows() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getResultSetConcurrency() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getResultSetType() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static sal_Int32 getFetchDirection() throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
sal_Int32 getFetchSize() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
OUString getCursorName() const throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setQueryTimeOut(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setMaxFieldSize(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setMaxRows(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setResultSetConcurrency(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setResultSetType(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setFetchDirection(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setFetchSize(sal_Int32 _par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setCursorName(const OUString &_par0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
protected:
void assignRecordSet( ADORecordset* _pRS );
+ /// @throws css::sdbc::SQLException
void reset () throw( css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
void clearMyResultSet () throw( css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
void setWarning (const css::sdbc::SQLWarning &ex) throw( css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
sal_Int32 getColumnCount () throw( css::sdbc::SQLException);
+ /// @throws css::sdbc::SQLException
sal_Int32 getRowCount () throw( css::sdbc::SQLException);
sal_Int32 getPrecision ( sal_Int32 sqlType);
diff --git a/connectivity/source/inc/ado/ATable.hxx b/connectivity/source/inc/ado/ATable.hxx
index e406985..36b5453 100644
--- a/connectivity/source/inc/ado/ATable.hxx
+++ b/connectivity/source/inc/ado/ATable.hxx
@@ -67,6 +67,8 @@ namespace connectivity
virtual void SAL_CALL alterColumnByName( const OUString& colName, const css::uno::Reference< css::beans::XPropertySet >& descriptor ) throw(css::sdbc::SQLException, css::container::NoSuchElementException, css::uno::RuntimeException) override;
virtual void SAL_CALL alterColumnByIndex( sal_Int32 index, const css::uno::Reference< css::beans::XPropertySet >& descriptor ) throw(css::sdbc::SQLException, css::lang::IndexOutOfBoundsException, css::uno::RuntimeException) override;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
bool create() throw(css::sdbc::SQLException, css::uno::RuntimeException);
WpADOTable getImpl() const { return m_aTable;}
diff --git a/connectivity/source/inc/ado/ATables.hxx b/connectivity/source/inc/ado/ATables.hxx
index 7fa12b0..3433c72 100644
--- a/connectivity/source/inc/ado/ATables.hxx
+++ b/connectivity/source/inc/ado/ATables.hxx
@@ -36,6 +36,8 @@ namespace connectivity
virtual sdbcx::ObjectType createObject(const OUString& _rName) override;
virtual void impl_refresh() throw(css::uno::RuntimeException) override;
virtual css::uno::Reference< css::beans::XPropertySet > createDescriptor() override;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setComments(const css::uno::Reference< css::beans::XPropertySet >& descriptor ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
virtual sdbcx::ObjectType appendObject( const OUString& _rForName, const css::uno::Reference< css::beans::XPropertySet >& descriptor ) override;
virtual void dropObject(sal_Int32 _nPos,const OUString& _sElementName) override;
diff --git a/connectivity/source/inc/ado/AViews.hxx b/connectivity/source/inc/ado/AViews.hxx
index 13d9c01..747696a 100644
--- a/connectivity/source/inc/ado/AViews.hxx
+++ b/connectivity/source/inc/ado/AViews.hxx
@@ -39,6 +39,8 @@ namespace connectivity
virtual void impl_refresh() throw(css::uno::RuntimeException) override;
virtual css::uno::Reference< css::beans::XPropertySet > createDescriptor() override;
virtual sdbcx::ObjectType appendObject( const OUString& _rForName, const css::uno::Reference< css::beans::XPropertySet >& descriptor ) override;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void setComments(const css::uno::Reference< css::beans::XPropertySet >& descriptor ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
virtual void dropObject(sal_Int32 _nPos,const OUString& _sElementName) override;
public:
diff --git a/connectivity/source/inc/ado/adoimp.hxx b/connectivity/source/inc/ado/adoimp.hxx
index c360455..0b6e52d 100644
--- a/connectivity/source/inc/ado/adoimp.hxx
+++ b/connectivity/source/inc/ado/adoimp.hxx
@@ -72,6 +72,8 @@ namespace connectivity
static const CLSID CLSID_ADOVIEW_25;
static const IID IID_ADOVIEW_25;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static void ThrowException(ADOConnection* _pAdoCon,const css::uno::Reference< css::uno::XInterface >& _xInterface) throw(css::sdbc::SQLException, css::uno::RuntimeException);
static sal_Int32 MapADOType2Jdbc(DataTypeEnum eType);
static DataTypeEnum MapJdbc2ADOType(sal_Int32 _nType,sal_Int32 _nJetEngine);
@@ -82,6 +84,8 @@ namespace connectivity
static sal_Int32 mapAdoRights2Sdbc(RightsEnum eRights);
static sal_Int32 mapRights2Ado(sal_Int32 nRights);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
static WpADOField getField(ADORecordset* _pRecordSet,sal_Int32 _nColumnIndex) throw(css::sdbc::SQLException, css::uno::RuntimeException);
};
More information about the Libreoffice-commits
mailing list