[Libreoffice-commits] core.git: 24 commits - basic/inc basic/source dbaccess/source i18npool/inc i18npool/source include/svx include/vbahelper linguistic/source svx/source sw/inc sw/source ucb/source vbahelper/source
Caolán McNamara
caolanm at redhat.com
Sat Jun 27 10:25:31 PDT 2015
basic/inc/sbobjmod.hxx | 2 +-
basic/source/classes/sbxmod.cxx | 6 +++---
dbaccess/source/core/api/RowSet.cxx | 2 +-
dbaccess/source/core/api/RowSet.hxx | 2 +-
i18npool/inc/defaultnumberingprovider.hxx | 2 +-
i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 2 +-
include/svx/gridctrl.hxx | 2 +-
include/vbahelper/vbaeventshelperbase.hxx | 2 +-
linguistic/source/spelldsp.cxx | 4 ++--
linguistic/source/spelldsp.hxx | 4 ++--
svx/source/fmcomp/gridctrl.cxx | 2 +-
svx/source/unodraw/shapeimpl.hxx | 2 +-
svx/source/unodraw/unoshap4.cxx | 2 +-
svx/source/xml/xmlxtimp.cxx | 4 +---
sw/inc/unocrsrhelper.hxx | 3 ++-
sw/inc/unotbl.hxx | 2 +-
sw/source/core/unocore/unoobj.cxx | 2 +-
sw/source/core/unocore/unotbl.cxx | 2 +-
ucb/source/ucp/ftp/ftpurl.cxx | 2 +-
ucb/source/ucp/ftp/ftpurl.hxx | 2 +-
ucb/source/ucp/gio/gio_content.cxx | 2 +-
ucb/source/ucp/gio/gio_content.hxx | 2 +-
ucb/source/ucp/hierarchy/hierarchycontent.cxx | 4 ++--
ucb/source/ucp/hierarchy/hierarchycontent.hxx | 4 ++--
ucb/source/ucp/package/pkgcontent.cxx | 6 +++---
ucb/source/ucp/package/pkgcontent.hxx | 6 +++---
ucb/source/ucp/tdoc/tdoc_content.cxx | 2 +-
ucb/source/ucp/tdoc/tdoc_content.hxx | 2 +-
ucb/source/ucp/webdav-neon/webdavcontent.cxx | 8 ++++----
ucb/source/ucp/webdav-neon/webdavcontent.hxx | 8 ++++----
vbahelper/source/vbahelper/vbaeventshelperbase.cxx | 2 +-
31 files changed, 48 insertions(+), 49 deletions(-)
New commits:
commit a49e332dd4750c7f6aa3db95feb851e49349e14c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:33:00 2015 +0100
coverity#1308467 Uncaught exception
Change-Id: I1daa61d04b91586450891e13462fbbbbafce823d
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx
index 9550362..64c65da 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -192,7 +192,8 @@ namespace SwUnoCursorHelper
const SwGetPropertyStatesCaller eCaller =
SW_PROPERTY_STATE_CALLER_DEFAULT)
throw (::com::sun::star::beans::UnknownPropertyException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
::com::sun::star::beans::PropertyState GetPropertyState(
SwPaM & rPaM,
const SfxItemPropertySet & rPropSet,
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index ab03d80..85b187b 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -1875,7 +1875,7 @@ SwUnoCursorHelper::GetPropertyStates(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const uno::Sequence< OUString >& rPropertyNames,
const SwGetPropertyStatesCaller eCaller)
-throw (beans::UnknownPropertyException, uno::RuntimeException)
+throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)
{
const OUString* pNames = rPropertyNames.getConstArray();
uno::Sequence< beans::PropertyState > aRet(rPropertyNames.getLength());
commit ac33fb8e740a35b62b6e23775712e23f3f7c65ea
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:30:55 2015 +0100
coverity#1308466 Uncaught exception
Change-Id: I8b8c67ae0a6a14998852754ae938c137063b4851
diff --git a/i18npool/inc/defaultnumberingprovider.hxx b/i18npool/inc/defaultnumberingprovider.hxx
index 2ec0c0a..572b1d2 100644
--- a/i18npool/inc/defaultnumberingprovider.hxx
+++ b/i18npool/inc/defaultnumberingprovider.hxx
@@ -89,7 +89,7 @@ private:
com::sun::star::uno::Reference < com::sun::star::container::XHierarchicalNameAccess > xHierarchicalNameAccess;
TransliterationImpl* translit;
OUString SAL_CALL makeNumberingIdentifier( sal_Int16 index )
- throw(com::sun::star::uno::RuntimeException);
+ throw(com::sun::star::uno::RuntimeException, std::exception);
bool SAL_CALL isScriptFlagEnabled(const OUString& aName )
throw(com::sun::star::uno::RuntimeException);
};
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
index a38cb75..5e4d582 100644
--- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
+++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
@@ -944,7 +944,7 @@ static const Supported_NumberingType aSupportedTypes[] =
static const sal_Int32 nSupported_NumberingTypes = sizeof(aSupportedTypes) / sizeof(Supported_NumberingType);
OUString DefaultNumberingProvider::makeNumberingIdentifier(sal_Int16 index)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
if (aSupportedTypes[index].cSymbol)
return OUString(aSupportedTypes[index].cSymbol, strlen(aSupportedTypes[index].cSymbol), RTL_TEXTENCODING_UTF8);
commit 625e373d6c668b6d34fbc6a4d42dd41c550dd782
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:29:41 2015 +0100
coverity#1308465 Uncaught exception
Change-Id: I557bebf4ea458dc7c48ca2640c0aa3af3aa9cfd1
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index f7713b0..881559f 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -1804,7 +1804,7 @@ void Content::destroy(
void Content::transfer(
const ucb::TransferInfo& rInfo,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx
index b58b8f0..1e2a794 100644
--- a/ucb/source/ucp/package/pkgcontent.hxx
+++ b/ucb/source/ucp/package/pkgcontent.hxx
@@ -227,7 +227,7 @@ private:
void transfer( const ::com::sun::star::ucb::TransferInfo& rInfo,
const ::com::sun::star::uno::Reference<
::com::sun::star::ucb::XCommandEnvironment > & xEnv )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >
getInputStream();
commit af15eb1211cb4279a902f5e9c78e12f65e2283a4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:28:37 2015 +0100
coverity#1308464 Uncaught exception
Change-Id: Ib2ca8570ebf7bbc138ae3e4ab828e9b5cda002af
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index 5d0e6bd..f7713b0 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -1600,7 +1600,7 @@ void Content::insert(
const uno::Reference< io::XInputStream >& xStream,
sal_Int32 nNameClashResolve,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx
index 8f8c423..b58b8f0 100644
--- a/ucb/source/ucp/package/pkgcontent.hxx
+++ b/ucb/source/ucp/package/pkgcontent.hxx
@@ -217,7 +217,7 @@ private:
sal_Int32 nNameClashResolve,
const ::com::sun::star::uno::Reference<
::com::sun::star::ucb::XCommandEnvironment > & xEnv )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
void destroy( bool bDeletePhysical,
const ::com::sun::star::uno::Reference<
commit 1de1371ce4d5499c9d85d9cc2137f1717eff348f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:25:54 2015 +0100
coverity#1308462 Uncaught exception
Change-Id: I2dbd6fe60b6f61fd321735eaede5f8975af3b44e
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
index 98af513..50f1c96 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
@@ -1528,7 +1528,7 @@ void HierarchyContent::insert( sal_Int32 nNameClashResolve,
void HierarchyContent::destroy( bool bDeletePhysical,
const uno::Reference<
ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
// @@@ take care about bDeletePhysical -> trashcan support
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.hxx b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
index 1eacd2f..f094fc8 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
@@ -207,7 +207,7 @@ private:
void destroy( bool bDeletePhysical,
const ::com::sun::star::uno::Reference<
::com::sun::star::ucb::XCommandEnvironment > & xEnv )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
void transfer( const ::com::sun::star::ucb::TransferInfo& rInfo,
const ::com::sun::star::uno::Reference<
commit 601595db30bf2cbc91a255bcfc0012aa3ae0a0aa
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:24:44 2015 +0100
coverity#1308461 Uncaught exception
Change-Id: I25b2b0b6cc3d5f8deba33911d4300a2f98d67355
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
index b39fada..5bae7b6 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -1092,7 +1092,7 @@ const GFileCopyFlags DEFAULT_COPYDATA_FLAGS =
static_cast<GFileCopyFlags>(G_FILE_COPY_OVERWRITE|G_FILE_COPY_TARGET_DEFAULT_PERMS);
void Content::transfer( const ucb::TransferInfo& aTransferInfo, const uno::Reference< ucb::XCommandEnvironment >& xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
OUString sDest = m_xIdentifier->getContentIdentifier();
if (!sDest.endsWith("/")) {
diff --git a/ucb/source/ucp/gio/gio_content.hxx b/ucb/source/ucp/gio/gio_content.hxx
index c5cafba..0333a5d 100644
--- a/ucb/source/ucp/gio/gio_content.hxx
+++ b/ucb/source/ucp/gio/gio_content.hxx
@@ -93,7 +93,7 @@ private:
void transfer( const com::sun::star::ucb::TransferInfo& rTransferInfo,
const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv )
- throw( com::sun::star::uno::Exception );
+ throw( com::sun::star::uno::Exception, std::exception );
void insert( const com::sun::star::uno::Reference< com::sun::star::io::XInputStream > & xInputStream,
bool bReplaceExisting, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv )
commit 8b0319bb3498cdd7b07fb785c76b70bd4c80a511
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:23:41 2015 +0100
coverity#1308460 Uncaught exception
Change-Id: Idb239c4bcfa9cd593977425555702cf746272dd2
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index a672738..31dd270 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -347,7 +347,7 @@ protected:
*/
virtual void PostExecuteRowContextMenu(sal_uInt16 nRow, const PopupMenu& rMenu, sal_uInt16 nExecutionResult);
- void DataSourcePropertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException);
+ void DataSourcePropertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException, std::exception);
void FieldValueChanged(sal_uInt16 _nId, const ::com::sun::star::beans::PropertyChangeEvent& _evt);
void FieldListenerDisposing(sal_uInt16 _nId);
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 04d4746..25fbc8e 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -2692,7 +2692,7 @@ void DbGridControl::PostExecuteRowContextMenu(sal_uInt16 /*nRow*/, const PopupMe
}
}
-void DbGridControl::DataSourcePropertyChanged(const PropertyChangeEvent& evt) throw( RuntimeException )
+void DbGridControl::DataSourcePropertyChanged(const PropertyChangeEvent& evt) throw( RuntimeException, std::exception )
{
SAL_INFO("svx.fmcomp", "DbGridControl::DataSourcePropertyChanged");
SolarMutexGuard aGuard;
commit e5e37b2b930644051cc1253e0ee71e3ffe5b3cf8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:22:53 2015 +0100
coverity#1308459 Uncaught exception
Change-Id: I32fc8dd437bee6a5fdbf3ea51926ddc23b3263d8
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index 3494813..5d0e6bd 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -1040,7 +1040,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
uno::Sequence< uno::Any > Content::setPropertyValues(
const uno::Sequence< beans::PropertyValue >& rValues,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx
index b784cb6..8f8c423 100644
--- a/ucb/source/ucp/package/pkgcontent.hxx
+++ b/ucb/source/ucp/package/pkgcontent.hxx
@@ -159,7 +159,7 @@ private:
::com::sun::star::beans::PropertyValue >& rValues,
const ::com::sun::star::uno::Reference<
::com::sun::star::ucb::XCommandEnvironment > & xEnv )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
com::sun::star::uno::Reference<
com::sun::star::container::XHierarchicalNameAccess >
commit f957387666d03c5135987c39feb4f747bfab2a1f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:22:00 2015 +0100
coverity#1308458 Uncaught exception
Change-Id: I5ce9e4886768bb84190213db76af29ab1d850093
diff --git a/svx/source/unodraw/shapeimpl.hxx b/svx/source/unodraw/shapeimpl.hxx
index ba97c9f..7d72d84 100644
--- a/svx/source/unodraw/shapeimpl.hxx
+++ b/svx/source/unodraw/shapeimpl.hxx
@@ -83,7 +83,7 @@ public:
virtual void SAL_CALL setPropertyValues( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ) throw (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage = NULL ) throw (css::uno::RuntimeException) SAL_OVERRIDE;
+ virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage = NULL ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index 8089ad3..a6ad98a 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -724,7 +724,7 @@ SvxFrameShape::~SvxFrameShape() throw()
{
}
-void SvxFrameShape::Create( SdrObject* pNewObj, SvxDrawPage* pNewPage ) throw (uno::RuntimeException)
+void SvxFrameShape::Create( SdrObject* pNewObj, SvxDrawPage* pNewPage ) throw (uno::RuntimeException, std::exception)
{
SvxShape::Create( pNewObj, pNewPage );
const SvGlobalName aIFrameClassId( SO3_IFRAME_CLASSID );
commit f5537d6c5eb28ea6cb1271d9f80bbf69d46e8fdd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:19:30 2015 +0100
coverity#1308457 Uncaught exception
Change-Id: I922748783f3507268dfb713c6366ea20ff5e9a41
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index 9d2e68b..3bdc6ac 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -445,13 +445,11 @@ bool SvxXMLXTableImport::load( const OUString &rPath, const OUString &rReferer,
if( pGraphicHelper )
SvXMLGraphicHelper::Destroy( pGraphicHelper );
}
- catch (const uno::Exception&)
+ catch (...)
{
// thrown each time you load a document with property tables that are not
// on the current machine. FIXME: would be better to check a file exists
// before importing ...
-// fprintf (stderr, "parsing etc. exception '%s'\n",
-// OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).getStr());
bRet = false;
}
commit 67941bd098dc8080c3381cf91aec12492656817e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:18:22 2015 +0100
coverity#1308456 Uncaught exception
Change-Id: I977ed1142b17a1407fdfecc54e789f25163cd668
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx
index 6a0cd88..6ad35a7 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -674,7 +674,7 @@ void FTPURL::insert(bool replaceExisting,void* stream) const
void FTPURL::mkdir(bool ReplaceExisting) const
- throw (curl_exception, malformed_exception)
+ throw (curl_exception, malformed_exception, std::exception)
{
OString title;
if(!m_aPathSegmentVec.empty()) {
diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx
index f51ace6..3144d6e 100644
--- a/ucb/source/ucp/ftp/ftpurl.hxx
+++ b/ucb/source/ucp/ftp/ftpurl.hxx
@@ -131,7 +131,7 @@ namespace ftp {
throw(curl_exception);
void mkdir(bool ReplaceExisting) const
- throw(curl_exception, malformed_exception);
+ throw(curl_exception, malformed_exception, std::exception);
OUString ren(const OUString& NewTitle)
throw(curl_exception);
commit aee1a1d439cd100663455f112f346c218dab9ddf
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:16:47 2015 +0100
coverity#1308455 Uncaught exception
Change-Id: I6113a92c355009415f422befcf9ce38e59e96778
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index f216f32..4c94b4d 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -422,7 +422,7 @@ public:
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- void attachToRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange)throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException );
+ void attachToRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange)throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception );
sal_uInt16 getRowCount();
sal_uInt16 getColumnCount();
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 3f2c1dd..2edee63 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -2045,7 +2045,7 @@ uno::Reference<text::XTextTableCursor> SwXTextTable::createCursorByCellName(cons
}
void SwXTextTable::attachToRange(const uno::Reference< text::XTextRange > & xTextRange)
- throw( lang::IllegalArgumentException, uno::RuntimeException )
+ throw( lang::IllegalArgumentException, uno::RuntimeException, std::exception )
{
// attachToRange must only be called once
if(!bIsDescriptor) /* already attached ? */
commit a395e56386ff6955d39149565290c6baec10c63d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:15:18 2015 +0100
coverity#1308454 Uncaught exception
Change-Id: Id1460045db44e2ebb485e2cc53f4f53c6e4a4d58
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
index 63da665..98af513 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
@@ -1381,7 +1381,7 @@ uno::Sequence< uno::Any > HierarchyContent::setPropertyValues(
void HierarchyContent::insert( sal_Int32 nNameClashResolve,
const uno::Reference<
ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.hxx b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
index 23f5c1c..1eacd2f 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
@@ -202,7 +202,7 @@ private:
void insert( sal_Int32 nNameClashResolve,
const ::com::sun::star::uno::Reference<
::com::sun::star::ucb::XCommandEnvironment > & xEnv )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
void destroy( bool bDeletePhysical,
const ::com::sun::star::uno::Reference<
commit 47e75e26ba853b72fb7fc60d7b8be62b6979fc2b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:14:34 2015 +0100
coverity#1308453 Uncaught exception
Change-Id: I1cb88324f582289cfb081907e22d1ee51a266445
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 72f2548..5797819 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -2719,7 +2719,7 @@ void Content::transfer(
void Content::destroy( bool bDeletePhysical )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
// @@@ take care about bDeletePhysical -> trashcan support
uno::Reference< ucb::XContent > xThis = this;
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index fffd0b5..5b01882 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -175,7 +175,7 @@ private:
// Command "delete"
void destroy( bool bDeletePhysical )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
// Command "lock"
void lock( const com::sun::star::uno::Reference<
commit 72e255336c361654663e0e477046c0f4debbfaae
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:13:37 2015 +0100
coverity#1308452 Uncaught exception
Change-Id: I423a32f9ffc66dd6a8b2f4e8e15b380da0e2f0c0
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index d158135..33230c9 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -1758,7 +1758,7 @@ void Content::insert( const uno::Reference< io::XInputStream >& xData,
void Content::destroy( bool bDeletePhysical,
const uno::Reference<
ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
// @@@ take care about bDeletePhysical -> trashcan support
diff --git a/ucb/source/ucp/tdoc/tdoc_content.hxx b/ucb/source/ucp/tdoc/tdoc_content.hxx
index a173d24..16aa946 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.hxx
@@ -193,7 +193,7 @@ private:
void destroy( bool bDeletePhysical,
const ::com::sun::star::uno::Reference<
::com::sun::star::ucb::XCommandEnvironment > & xEnv )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
void transfer( const ::com::sun::star::ucb::TransferInfo& rInfo,
const ::com::sun::star::uno::Reference<
commit e2c387bb5b9cea23d26372f8a9bad9d21fb98bce
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:12:21 2015 +0100
coverity#1308451 Uncaught exception
Change-Id: I5ab1f27641b1b1ff01b364d93112d4ffe8a7b368
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index a312328..72f2548 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -3114,7 +3114,7 @@ void Content::cancelCommandExecution(
const DAVException & e,
const uno::Reference< ucb::XCommandEnvironment > & xEnv,
bool bWrite /* = sal_False */ )
- throw ( uno::Exception )
+ throw ( uno::Exception, std::exception )
{
ucbhelper::cancelCommandExecution( MapDAVException( e, bWrite ), xEnv );
// Unreachable
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index 78eaf21..fffd0b5 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -194,7 +194,7 @@ private:
const ::com::sun::star::uno::Reference<
com::sun::star::ucb::XCommandEnvironment > & xEnv,
bool bWrite = false )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
static bool shouldAccessNetworkAfterException( const DAVException & e );
commit b3b5cff75bf4f81dd86255d944809d45996c734c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:10:31 2015 +0100
coverity#1308450 Uncaught exception
Change-Id: Ie169ba629c01428df6527d625a700a98f18bbaa1
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 065d013..a312328 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -2487,7 +2487,7 @@ void Content::insert(
void Content::transfer(
const ucb::TransferInfo & rArgs,
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
uno::Reference< ucb::XContentIdentifier > xIdentifier;
uno::Reference< ucb::XContentProvider > xProvider;
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index a98b244..78eaf21 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -171,7 +171,7 @@ private:
void transfer( const ::com::sun::star::ucb::TransferInfo & rArgs,
const com::sun::star::uno::Reference<
com::sun::star::ucb::XCommandEnvironment >& Environment )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
// Command "delete"
void destroy( bool bDeletePhysical )
commit 93e8257410378a4c45296049157d7344a69f7a5e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:09:32 2015 +0100
coverity#1308449 Uncaught exception
Change-Id: If9eea42dc28404dcf9e532fc72cdd1f12e9698b2
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx
index 11b4ebf..a238465 100644
--- a/linguistic/source/spelldsp.cxx
+++ b/linguistic/source/spelldsp.cxx
@@ -281,7 +281,7 @@ bool SpellCheckerDispatcher::isValid_Impl(
LanguageType nLanguage,
const PropertyValues& rProperties,
bool bCheckDics)
- throw( RuntimeException, IllegalArgumentException )
+ throw( RuntimeException, IllegalArgumentException, std::exception )
{
MutexGuard aGuard( GetLinguMutex() );
diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx
index 0ca04bc..c88ed24 100644
--- a/linguistic/source/spelldsp.hxx
+++ b/linguistic/source/spelldsp.hxx
@@ -84,7 +84,7 @@ class SpellCheckerDispatcher :
bool isValid_Impl(const OUString& aWord, LanguageType nLanguage,
const ::com::sun::star::beans::PropertyValues& aProperties,
bool bCheckDics)
- throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException );
+ throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception );
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XSpellAlternatives >
commit 345005495552a6b5e91e66eec6872dd359d0a164
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:08:20 2015 +0100
coverity#1308448 Uncaught exception
Change-Id: Ib6e994cc89ddfaf504f5b585127d5ea4fb257458
diff --git a/include/vbahelper/vbaeventshelperbase.hxx b/include/vbahelper/vbaeventshelperbase.hxx
index 737bfca..7667f15 100644
--- a/include/vbahelper/vbaeventshelperbase.hxx
+++ b/include/vbahelper/vbaeventshelperbase.hxx
@@ -166,7 +166,7 @@ private:
sal_Int32 getModuleType( const OUString& rModuleName ) throw (css::uno::RuntimeException);
/** Updates the map containing paths to event handlers for a Basic module. */
- ModulePathMap& updateModulePathMap( const OUString& rModuleName ) throw (css::uno::RuntimeException);
+ ModulePathMap& updateModulePathMap( const OUString& rModuleName ) throw (css::uno::RuntimeException, std::exception);
protected:
css::uno::Reference< css::frame::XModel > mxModel;
diff --git a/vbahelper/source/vbahelper/vbaeventshelperbase.cxx b/vbahelper/source/vbahelper/vbaeventshelperbase.cxx
index e681058..914c90f 100644
--- a/vbahelper/source/vbahelper/vbaeventshelperbase.cxx
+++ b/vbahelper/source/vbahelper/vbaeventshelperbase.cxx
@@ -328,7 +328,7 @@ sal_Int32 VbaEventsHelperBase::getModuleType( const OUString& rModuleName ) thro
throw uno::RuntimeException();
}
-VbaEventsHelperBase::ModulePathMap& VbaEventsHelperBase::updateModulePathMap( const OUString& rModuleName ) throw (uno::RuntimeException)
+VbaEventsHelperBase::ModulePathMap& VbaEventsHelperBase::updateModulePathMap( const OUString& rModuleName ) throw (uno::RuntimeException, std::exception)
{
// get type of the specified module (throws on error)
sal_Int32 nModuleType = getModuleType( rModuleName );
commit 27d64de97d27deea3c474660ecd39136408754a2
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 17:07:09 2015 +0100
coverit#1308447 Uncaught exception
Change-Id: I9bf204458d2edfaf4c88703598ac0c88680304cf
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 8df17d3..065d013 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -2246,7 +2246,7 @@ void Content::insert(
const uno::Reference< io::XInputStream > & xInputStream,
bool bReplaceExisting,
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
bool bTransient, bCollection;
OUString aEscapedTitle;
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index 6e95407..a98b244 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -165,7 +165,7 @@ private:
bool bReplaceExisting,
const com::sun::star::uno::Reference<
com::sun::star::ucb::XCommandEnvironment >& Environment )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
// Command "transfer"
void transfer( const ::com::sun::star::ucb::TransferInfo & rArgs,
commit 4af4d4858b2230ce93fb965c68fbb92e1ff3c07c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 16:14:55 2015 +0100
coverity#1308446 Uncaught exception
Change-Id: I880b6a68326255b6be93eafa9c2cb05fd0136e4b
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx
index 89d4190..11b4ebf 100644
--- a/linguistic/source/spelldsp.cxx
+++ b/linguistic/source/spelldsp.cxx
@@ -448,7 +448,7 @@ Reference< XSpellAlternatives > SpellCheckerDispatcher::spell_Impl(
LanguageType nLanguage,
const PropertyValues& rProperties,
bool bCheckDics )
- throw(IllegalArgumentException, RuntimeException)
+ throw(IllegalArgumentException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx
index 3e2985e..0ca04bc 100644
--- a/linguistic/source/spelldsp.hxx
+++ b/linguistic/source/spelldsp.hxx
@@ -91,7 +91,7 @@ class SpellCheckerDispatcher :
spell_Impl(const OUString& aWord, LanguageType nLanguage,
const ::com::sun::star::beans::PropertyValues& aProperties,
bool bCheckDics)
- throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException );
+ throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception );
public:
explicit SpellCheckerDispatcher( LngSvcMgr &rLngSvcMgr );
commit cfbbb3ca5d0d7bc479e219e17aa2919196664118
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 16:13:45 2015 +0100
coverity#1308445 Uncaught exception
Change-Id: I831637f7f2fb2c552de8c20dc9f5da4e8783b935
diff --git a/basic/inc/sbobjmod.hxx b/basic/inc/sbobjmod.hxx
index 364e8cc..c71c20a 100644
--- a/basic/inc/sbobjmod.hxx
+++ b/basic/inc/sbobjmod.hxx
@@ -45,7 +45,7 @@ public:
using SbxValue::GetObject;
SbxVariable* GetObject();
- void SetUnoObject( const com::sun::star::uno::Any& aObj )throw ( com::sun::star::uno::RuntimeException ) ;
+ void SetUnoObject( const com::sun::star::uno::Any& aObj )throw ( com::sun::star::uno::RuntimeException, std::exception ) ;
};
class FormObjEventListenerImpl;
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index d712645..77ad63d 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -2195,7 +2195,7 @@ SbObjModule::~SbObjModule()
}
void
-SbObjModule::SetUnoObject( const uno::Any& aObj ) throw ( uno::RuntimeException )
+SbObjModule::SetUnoObject( const uno::Any& aObj ) throw ( uno::RuntimeException, std::exception )
{
SbUnoObject* pUnoObj = PTR_CAST(SbUnoObject,static_cast<SbxVariable*>(pDocObject));
if ( pUnoObj && pUnoObj->getUnoAny() == aObj ) // object is equal, nothing to do
commit 232db3f79cd2cb28c44da993df7dab0b049746c9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 16:13:07 2015 +0100
coverity#1308444 Uncaught exception
Change-Id: I103965dfb3e19964e58b3ca4ef34dcee2141d882
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 94e222c..d712645 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -95,7 +95,7 @@ class DocObjectWrapper : public DocObjectWrapper_BASE
Sequence< Type > m_Types;
SbModule* m_pMod;
SbMethodRef getMethod( const OUString& aName ) throw (RuntimeException, std::exception);
- SbPropertyRef getProperty( const OUString& aName ) throw (RuntimeException);
+ SbPropertyRef getProperty( const OUString& aName ) throw (RuntimeException, std::exception);
OUString mName; // for debugging
public:
@@ -398,7 +398,7 @@ SbMethodRef DocObjectWrapper::getMethod( const OUString& aName ) throw (RuntimeE
return pMethod;
}
-SbPropertyRef DocObjectWrapper::getProperty( const OUString& aName ) throw (RuntimeException)
+SbPropertyRef DocObjectWrapper::getProperty( const OUString& aName ) throw (RuntimeException, std::exception)
{
SbPropertyRef pProperty = NULL;
if ( m_pMod )
commit 3b4180a8c6a106e192f57922b500de33054d6958
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 16:10:40 2015 +0100
coverity#1308442 Uncaught exception
Change-Id: Id86fbd119c5da322dadadbfd65cbb09dcc403f38
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index dcbacf4..f1723a9 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -2181,7 +2181,7 @@ void ORowSet::notifyRowSetAndClonesRowDeleted( const Any& _rBookmark, sal_Int32
}
}
-Reference< XConnection > ORowSet::calcConnection(const Reference< XInteractionHandler >& _rxHandler) throw( SQLException, RuntimeException )
+Reference< XConnection > ORowSet::calcConnection(const Reference< XInteractionHandler >& _rxHandler) throw( SQLException, RuntimeException, std::exception )
{
MutexGuard aGuard(m_aMutex);
if (!m_xActiveConnection.is())
diff --git a/dbaccess/source/core/api/RowSet.hxx b/dbaccess/source/core/api/RowSet.hxx
index d227476..71cf72e 100644
--- a/dbaccess/source/core/api/RowSet.hxx
+++ b/dbaccess/source/core/api/RowSet.hxx
@@ -199,7 +199,7 @@ namespace dbaccess
impl_prepareAndExecute_throw();
void impl_ensureStatement_throw();
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > calcConnection(const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& _rxHandler) throw( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException );
+ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > calcConnection(const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& _rxHandler) throw( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception );
// free clones and ParseTree. Plus, if _bComplete is <TRUE/>, *all* other associated resources
void freeResources( bool _bComplete );
More information about the Libreoffice-commits
mailing list