[Libreoffice-commits] core.git: 23 commits - editeng/source helpcompiler/inc helpcompiler/source include/editeng include/sfx2 include/svtools include/svx sfx2/source svtools/source svx/source sw/inc sw/source ucb/source
Caolán McNamara
caolanm at redhat.com
Sun Jun 28 05:23:27 PDT 2015
editeng/source/accessibility/AccessibleContextBase.cxx | 2 +-
helpcompiler/inc/HelpLinker.hxx | 2 +-
helpcompiler/source/HelpLinker.cxx | 2 +-
include/editeng/AccessibleContextBase.hxx | 2 +-
include/sfx2/docfilt.hxx | 3 ++-
include/svtools/toolbarmenu.hxx | 2 +-
include/svx/AccessibleShape.hxx | 2 +-
sfx2/source/appl/macroloader.cxx | 2 +-
sfx2/source/bastyp/fltlst.cxx | 2 +-
sfx2/source/bastyp/fltlst.hxx | 2 +-
sfx2/source/doc/docfilt.cxx | 3 ++-
sfx2/source/inc/macroloader.hxx | 2 +-
svtools/source/control/toolbarmenu.cxx | 2 +-
svx/source/accessibility/AccessibleShape.cxx | 2 +-
svx/source/tbxctrls/extrusioncontrols.cxx | 2 +-
svx/source/tbxctrls/extrusioncontrols.hxx | 2 +-
svx/source/unogallery/unogalitem.cxx | 3 ++-
svx/source/unogallery/unogalitem.hxx | 2 +-
sw/inc/unocrsrhelper.hxx | 7 ++++---
sw/inc/unostyle.hxx | 2 +-
sw/source/core/unocore/unoobj.cxx | 4 ++--
sw/source/core/unocore/unoparagraph.cxx | 8 ++++----
sw/source/core/unocore/unosect.cxx | 8 ++++----
sw/source/core/unocore/unostyle.cxx | 3 ++-
sw/source/core/unocore/unotbl.cxx | 2 +-
sw/source/ui/vba/vbastyle.cxx | 2 +-
sw/source/ui/vba/vbastyle.hxx | 2 +-
ucb/source/core/ucbcmds.cxx | 2 +-
ucb/source/ucp/ftp/ftpurl.cxx | 4 ++--
ucb/source/ucp/ftp/ftpurl.hxx | 4 ++--
ucb/source/ucp/gio/gio_content.cxx | 2 +-
ucb/source/ucp/gio/gio_content.hxx | 2 +-
ucb/source/ucp/package/pkgcontent.cxx | 4 ++--
ucb/source/ucp/package/pkgcontent.hxx | 4 ++--
ucb/source/ucp/tdoc/tdoc_content.cxx | 2 +-
ucb/source/ucp/tdoc/tdoc_content.hxx | 2 +-
36 files changed, 54 insertions(+), 49 deletions(-)
New commits:
commit 2a5a4497c210b649fdfaae8b74d742f23df32499
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:55:29 2015 +0100
coverity#1308507 Uncaught exception
Change-Id: I235598d657f778f5e9f87c240eb86745f7f35e8b
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 2edee63..4e936c5 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -177,7 +177,7 @@ static void lcl_SetSpecialProperty(SwFrameFormat* pFormat,
const SfxItemPropertySimpleEntry* pEntry,
const uno::Any& aValue)
throw (lang::IllegalArgumentException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
// special treatment for "non-items"
switch(pEntry->nWID)
commit 11a41ce2c094cd7e5d1ef289aa940cdfbe53bbf6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:53:50 2015 +0100
coverity#1308505 Uncaught exception
Change-Id: I952d464c2a9382c60b0616eeb0cf727e914785bd
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx
index 976ffd6..3eef56a 100644
--- a/include/sfx2/docfilt.hxx
+++ b/include/sfx2/docfilt.hxx
@@ -116,7 +116,8 @@ public:
bool bTemplate = false, OUString* pName = NULL )
throw ( com::sun::star::beans::UnknownPropertyException,
com::sun::star::lang::WrappedTargetException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException,
+ std::exception );
};
#endif
diff --git a/sfx2/source/doc/docfilt.cxx b/sfx2/source/doc/docfilt.cxx
index 7defffe..bbb278d 100644
--- a/sfx2/source/doc/docfilt.cxx
+++ b/sfx2/source/doc/docfilt.cxx
@@ -180,7 +180,8 @@ OUString SfxFilter::GetTypeFromStorage( const SotStorage& rStg )
OUString SfxFilter::GetTypeFromStorage(
const uno::Reference<embed::XStorage>& xStorage, bool bTemplate, OUString* pFilterName )
- throw ( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException )
+ throw ( beans::UnknownPropertyException, lang::WrappedTargetException,
+ uno::RuntimeException, std::exception )
{
SfxFilterMatcher aMatcher;
OUString aName;
commit 39c3ea2d9bfb4414476d8b5b18181c2b39428262
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:53:03 2015 +0100
coverity#1308504 Uncaught exception
Change-Id: I8c0c49f0a035229c4db8df96871afde218177aa5
diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx
index d3dcfa9..6e48653 100644
--- a/sw/source/core/unocore/unoparagraph.cxx
+++ b/sw/source/core/unocore/unoparagraph.cxx
@@ -172,7 +172,7 @@ public:
GetPropertyValuesTolerant_Impl(
const uno::Sequence< OUString >& rPropertyNames,
bool bDirectValuesOnly)
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
protected:
// SwClient
virtual void Modify(const SfxPoolItem *pOld, const SfxPoolItem *pNew) SAL_OVERRIDE;
@@ -764,7 +764,7 @@ uno::Sequence< beans::GetDirectPropertyTolerantResult >
SwXParagraph::Impl::GetPropertyValuesTolerant_Impl(
const uno::Sequence< OUString >& rPropertyNames,
bool bDirectValuesOnly )
-throw (uno::RuntimeException)
+throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
commit 0a464eba00a34cccacbaa5eec3142334437c8b80
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:49:08 2015 +0100
coverity#1308503 Uncaught exception
Change-Id: I3ee78e7f4e6208523f4f47af974ccff82f6b823d
diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx
index 272d9358..c027f04 100644
--- a/include/svtools/toolbarmenu.hxx
+++ b/include/svtools/toolbarmenu.hxx
@@ -99,7 +99,7 @@ protected:
// Forwared from XStatusListener (subclasses must override this one to get
// the status updates):
- virtual void statusChanged(const css::frame::FeatureStateEvent& Event ) throw (css::uno::RuntimeException);
+ virtual void statusChanged(const css::frame::FeatureStateEvent& Event ) throw (css::uno::RuntimeException, std::exception);
void StateChanged( StateChangedType nType ) SAL_OVERRIDE;
void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx
index b76e9a2..1b8d5fb 100644
--- a/svtools/source/control/toolbarmenu.cxx
+++ b/svtools/source/control/toolbarmenu.cxx
@@ -1539,7 +1539,7 @@ void ToolbarMenu::AddStatusListener( const OUString& rCommandURL )
-void ToolbarMenu::statusChanged( const ::com::sun::star::frame::FeatureStateEvent& /*Event*/ ) throw ( ::com::sun::star::uno::RuntimeException )
+void ToolbarMenu::statusChanged( const ::com::sun::star::frame::FeatureStateEvent& /*Event*/ ) throw ( ::com::sun::star::uno::RuntimeException, std::exception )
{
}
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx
index b9d988a..98b4a02 100644
--- a/svx/source/tbxctrls/extrusioncontrols.cxx
+++ b/svx/source/tbxctrls/extrusioncontrols.cxx
@@ -397,7 +397,7 @@ void ExtrusionDepthWindow::implFillStrings( FieldUnit eUnit )
void ExtrusionDepthWindow::statusChanged(
const ::com::sun::star::frame::FeatureStateEvent& Event
-) throw ( ::com::sun::star::uno::RuntimeException )
+) throw ( ::com::sun::star::uno::RuntimeException, std::exception )
{
if( Event.FeatureURL.Main.equals( msExtrusionDepth ) )
{
diff --git a/svx/source/tbxctrls/extrusioncontrols.hxx b/svx/source/tbxctrls/extrusioncontrols.hxx
index c4c4322..0592f58 100644
--- a/svx/source/tbxctrls/extrusioncontrols.hxx
+++ b/svx/source/tbxctrls/extrusioncontrols.hxx
@@ -112,7 +112,7 @@ private:
public:
ExtrusionDepthWindow( svt::ToolboxController& rController, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, vcl::Window* pParentWindow );
- virtual void statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE;
+ virtual void statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
};
class ExtrusionDepthController : public svt::PopupWindowController
commit b978b50105bb7bfb013d88566c2ad1ff7a24e871
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:48:33 2015 +0100
coverity#1308501 Uncaught exception
Change-Id: I5143cb99f67a2de3a4d4555b3a43075cd928fe14
diff --git a/sfx2/source/bastyp/fltlst.cxx b/sfx2/source/bastyp/fltlst.cxx
index 3b66b1d..b60cf35 100644
--- a/sfx2/source/bastyp/fltlst.cxx
+++ b/sfx2/source/bastyp/fltlst.cxx
@@ -97,7 +97,7 @@ SfxFilterListener::~SfxFilterListener()
{
}
-void SAL_CALL SfxFilterListener::refreshed( const lang::EventObject& aSource ) throw( uno::RuntimeException )
+void SAL_CALL SfxFilterListener::refreshed( const lang::EventObject& aSource ) throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
uno::Reference< util::XRefreshable > xContainer( aSource.Source, uno::UNO_QUERY );
diff --git a/sfx2/source/bastyp/fltlst.hxx b/sfx2/source/bastyp/fltlst.hxx
index a78c6a7..8c94677 100644
--- a/sfx2/source/bastyp/fltlst.hxx
+++ b/sfx2/source/bastyp/fltlst.hxx
@@ -42,7 +42,7 @@ class SfxFilterListener
public:
// XRefreshListener
- void SAL_CALL refreshed( const ::com::sun::star::lang::EventObject& aSource ) throw( ::com::sun::star::uno::RuntimeException );
+ void SAL_CALL refreshed( const ::com::sun::star::lang::EventObject& aSource ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XEventListener
void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& aSource ) throw( ::com::sun::star::uno::RuntimeException );
commit 7ed80b196990e274a4ba6aa7fba665e97779a61f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:47:24 2015 +0100
coverity#1308500 Uncaught exception
Change-Id: I38d6c03ee380ba6b3055e000f905a4cc568d5ab6
diff --git a/helpcompiler/inc/HelpLinker.hxx b/helpcompiler/inc/HelpLinker.hxx
index 1ba6950..17e4fcd 100644
--- a/helpcompiler/inc/HelpLinker.hxx
+++ b/helpcompiler/inc/HelpLinker.hxx
@@ -53,7 +53,7 @@ public:
std::string* pExtensionPath = NULL,
std::string* pDestination = NULL,
const OUString* pOfficeHelpPath = NULL )
- throw( HelpProcessingException );
+ throw( HelpProcessingException, std::exception );
HelpLinker()
: bExtensionMode(false)
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx
index 77202b9..a977392 100644
--- a/helpcompiler/source/HelpLinker.cxx
+++ b/helpcompiler/source/HelpLinker.cxx
@@ -550,7 +550,7 @@ void HelpLinker::link() throw(HelpProcessingException, BasicCodeTagger::TaggerEx
void HelpLinker::main( std::vector<std::string> &args,
std::string* pExtensionPath, std::string* pDestination,
const OUString* pOfficeHelpPath )
- throw( HelpProcessingException )
+ throw( HelpProcessingException, std::exception )
{
bExtensionMode = false;
helpFiles.clear();
commit 398d2f48347d0264bc1a6fe06c628818135c33ee
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:46:30 2015 +0100
coverity#1308499 Uncaught exception
Change-Id: Ibcd1ce0e875993f9d5de33a5346e762f7b281380
diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx
index 6d24e42..d3dcfa9 100644
--- a/sw/source/core/unocore/unoparagraph.cxx
+++ b/sw/source/core/unocore/unoparagraph.cxx
@@ -159,7 +159,7 @@ public:
GetPropertyValues_Impl(
const uno::Sequence< OUString >& rPropertyNames)
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException);
+ uno::RuntimeException, std::exception);
//UUUU
void GetSinglePropertyValue_Impl(
@@ -546,7 +546,7 @@ throw(uno::RuntimeException)
uno::Sequence< uno::Any > SwXParagraph::Impl::GetPropertyValues_Impl(
const uno::Sequence< OUString > & rPropertyNames )
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
SwTextNode & rTextNode(GetTextNodeOrThrow());
commit ab58227d1dda3af7765f907b390a292a2f3150dc
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:44:18 2015 +0100
coverity#1308498 Uncaught exception
Change-Id: I979b9281216906188c01c5afa03cee1f6568fbb7
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx
index 2e316df..1efcf6d 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -515,7 +515,7 @@ std::vector<FTPDirentry> FTPURL::list(
OUString FTPURL::net_title() const
- throw(curl_exception)
+ throw(curl_exception, std::exception)
{
CURL *curl = m_pFCP->handle();
diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx
index 45a35e6..6dee7e0 100644
--- a/ucb/source/ucp/ftp/ftpurl.hxx
+++ b/ucb/source/ucp/ftp/ftpurl.hxx
@@ -159,7 +159,7 @@ namespace ftp {
malformed_exception
);
- OUString net_title() const throw(curl_exception);
+ OUString net_title() const throw(curl_exception, std::exception);
};
}
commit 4105031a933ae08b53cd5703aae7e0b4318071b7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:43:26 2015 +0100
coverity#1308497 Uncaught exception
Change-Id: Icf49cb8bd275c9c2591c85276f05952b5e253cb5
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
index 5bae7b6..83b07fc 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -1020,7 +1020,7 @@ uno::Any SAL_CALL Content::execute(
}
void Content::destroy( bool bDeletePhysical )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
uno::Reference< ucb::XContent > xThis = this;
diff --git a/ucb/source/ucp/gio/gio_content.hxx b/ucb/source/ucp/gio/gio_content.hxx
index 0333a5d..c4ce79e 100644
--- a/ucb/source/ucp/gio/gio_content.hxx
+++ b/ucb/source/ucp/gio/gio_content.hxx
@@ -99,7 +99,7 @@ private:
bool bReplaceExisting, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv )
throw( com::sun::star::uno::Exception );
- void destroy( bool bDeletePhysical ) throw( com::sun::star::uno::Exception );
+ void destroy( bool bDeletePhysical ) throw( com::sun::star::uno::Exception, std::exception );
static void copyData( com::sun::star::uno::Reference< com::sun::star::io::XInputStream > xIn,
com::sun::star::uno::Reference< com::sun::star::io::XOutputStream > xOut );
commit 5f762e3b2d5e53018b72c3f14a7e99d89eafbb37
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:42:12 2015 +0100
coverity#1308494 Uncaught exception
Change-Id: Ie05140e8b144fdf40b473920092d66d42ec47d74
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx
index 28a254f..475dc17 100644
--- a/ucb/source/core/ucbcmds.cxx
+++ b/ucb/source/core/ucbcmds.cxx
@@ -1037,7 +1037,7 @@ void handleNameClashRename(
const uno::Reference<
ucb::XCommandProcessor > & xCommandProcessorS,
/* [inout] */ uno::Reference< io::XInputStream > & xInputStream )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
sal_Int32 nTry = 0;
commit e33742f4b1b3456ced02cbf6533f913033c6c81e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:38:02 2015 +0100
coverity#1308493 Uncaught exception
Change-Id: I2ec82799b08aa1762812dc9e1683329ebc72ab0f
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index f303712..0bf3c71 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -1758,7 +1758,7 @@ void Content::insert(
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/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx
index 6b4c1fd..b5e4f8d 100644
--- a/ucb/source/ucp/package/pkgcontent.hxx
+++ b/ucb/source/ucp/package/pkgcontent.hxx
@@ -222,7 +222,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 e830cde3e7f8d9f5a7bf5703e654811001937a6c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:37:07 2015 +0100
coverity#1308492 Uncaught exception
Change-Id: I80543ac6f26c4d078e9dd1ef384b03c54121239c
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 136c7da..d252a69 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -305,7 +305,7 @@ protected:
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException,
std::exception);
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL GetPropertyValues_Impl( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL GetPropertyValues_Impl( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
public:
SwXPageStyle(SfxStyleSheetBasePool& rPool, SwDocShell* pDocSh, SfxStyleFamily eFam,
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 31cc981..b43c4f7 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -3685,7 +3685,8 @@ lcl_makeHeaderFooter(
uno::Sequence< uno::Any > SAL_CALL SwXPageStyle::GetPropertyValues_Impl(
const uno::Sequence< OUString >& rPropertyNames )
- throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException )
+ throw( beans::UnknownPropertyException, lang::WrappedTargetException,
+ uno::RuntimeException, std::exception )
{
if(!GetDoc())
throw uno::RuntimeException();
commit 2005435656362026f662e48600b163f54579b1f6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:34:31 2015 +0100
coverity#1308491 Uncaught exception
Change-Id: I5565095d124b409c8e8f83b2dfa32ef57665a4c7
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx
index f19cd69..0210c72 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -181,8 +181,9 @@ namespace SwUnoCursorHelper
const SfxItemPropertySet & rPropSet,
const OUString & rPropertyName)
throw (::com::sun::star::beans::UnknownPropertyException,
- ::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
::com::sun::star::uno::Sequence<
::com::sun::star::beans::PropertyState > GetPropertyStates(
SwPaM & rPaM,
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 38479c7..4ca8062 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -1732,7 +1732,7 @@ uno::Any SwUnoCursorHelper::GetPropertyValue(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const OUString& rPropertyName)
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
uno::Any aAny;
SfxItemPropertySimpleEntry const*const pEntry =
commit 4fa3be936eb0cea7c7d0a2203becd5d84e09fa4a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:31:48 2015 +0100
coverity#1308490 Uncaught exception
Change-Id: I5b6518526661ab4cbae3c1c9b3778ab49df89740
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx
index 64c65da..f19cd69 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -205,7 +205,7 @@ namespace SwUnoCursorHelper
const SfxItemPropertySet & rPropSet,
const OUString & rPropertyName)
throw (::com::sun::star::beans::UnknownPropertyException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
::com::sun::star::uno::Any GetPropertyDefault(
SwPaM & rPaM,
const SfxItemPropertySet & rPropSet,
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 4c91b86..38479c7 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -2019,7 +2019,7 @@ lcl_SelectParaAndReset( SwPaM &rPaM, SwDoc & rDoc,
void SwUnoCursorHelper::SetPropertyToDefault(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const OUString& rPropertyName)
-throw (beans::UnknownPropertyException, uno::RuntimeException)
+throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)
{
SwDoc & rDoc = *rPaM.GetDoc();
SfxItemPropertySimpleEntry const*const pEntry =
commit e159201777cbae736c7890ca3c0f5a98614e9161
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:29:42 2015 +0100
coverity#1308489 Uncaught exception
Change-Id: I7d332fcd06e39d096f449790b1e590227d2f8a26
diff --git a/sfx2/source/appl/macroloader.cxx b/sfx2/source/appl/macroloader.cxx
index 226f2fa..71458ed 100644
--- a/sfx2/source/appl/macroloader.cxx
+++ b/sfx2/source/appl/macroloader.cxx
@@ -190,7 +190,7 @@ void SAL_CALL SfxMacroLoader::removeStatusListener(
}
ErrCode SfxMacroLoader::loadMacro( const OUString& rURL, com::sun::star::uno::Any& rRetval, SfxObjectShell* pSh )
- throw ( ucb::ContentCreationException, uno::RuntimeException )
+ throw ( ucb::ContentCreationException, uno::RuntimeException, std::exception )
{
#if !HAVE_FEATURE_SCRIPTING
(void) rURL;
diff --git a/sfx2/source/inc/macroloader.hxx b/sfx2/source/inc/macroloader.hxx
index 2cfa7ed..ea3ce5b 100644
--- a/sfx2/source/inc/macroloader.hxx
+++ b/sfx2/source/inc/macroloader.hxx
@@ -63,7 +63,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- static ErrCode loadMacro( const OUString& aURL, css::uno::Any& rRetval, SfxObjectShell* pDoc=NULL ) throw( css::uno::RuntimeException, css::ucb::ContentCreationException );
+ static ErrCode loadMacro( const OUString& aURL, css::uno::Any& rRetval, SfxObjectShell* pDoc=NULL ) throw( css::uno::RuntimeException, css::ucb::ContentCreationException, std::exception );
virtual css::uno::Reference < css::frame::XDispatch > SAL_CALL queryDispatch(
const css::util::URL& aURL, const OUString& sTargetFrameName,
commit 3601a6dda6c4dabdb56b4e4f45d41f2d6a2237e7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:27:54 2015 +0100
coverity#1308488 Uncaught exception
Change-Id: Ibdf76c21c8805b11a3e0961b2f131ca4143cbabd
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx
index 6ad35a7..2e316df 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -724,7 +724,7 @@ void FTPURL::mkdir(bool ReplaceExisting) const
OUString FTPURL::ren(const OUString& NewTitle)
- throw(curl_exception)
+ throw(curl_exception, std::exception)
{
CURL *curl = m_pFCP->handle();
diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx
index 3144d6e..45a35e6 100644
--- a/ucb/source/ucp/ftp/ftpurl.hxx
+++ b/ucb/source/ucp/ftp/ftpurl.hxx
@@ -134,7 +134,7 @@ namespace ftp {
throw(curl_exception, malformed_exception, std::exception);
OUString ren(const OUString& NewTitle)
- throw(curl_exception);
+ throw(curl_exception, std::exception);
void del() const
throw(curl_exception, malformed_exception);
commit fa946a721849abada89fa8ca4180e4eef755e189
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:26:52 2015 +0100
coverity#1308487 Uncaught exception
Change-Id: I23b0dccb1914b297734acaa55ab3752e127eafc0
diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx
index c5f3317..b3f93d3 100644
--- a/sw/source/core/unocore/unosect.cxx
+++ b/sw/source/core/unocore/unosect.cxx
@@ -145,7 +145,7 @@ public:
const uno::Sequence< uno::Any >& aValues)
throw (beans::UnknownPropertyException, beans::PropertyVetoException,
lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException);
+ uno::RuntimeException, std::exception);
uno::Sequence< uno::Any > SAL_CALL
GetPropertyValues_Impl(
const uno::Sequence< OUString >& rPropertyNames)
@@ -550,7 +550,7 @@ void SwXTextSection::Impl::SetPropertyValues_Impl(
const uno::Sequence< uno::Any >& rValues)
throw (beans::UnknownPropertyException, beans::PropertyVetoException,
lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
if(rPropertyNames.getLength() != rValues.getLength())
{
commit 7004d1e082f70c894f6b31fd4548217983dc86e4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:25:42 2015 +0100
coverity#1308486 Uncaught exception
Change-Id: I1c38ea60a431991ec911353618000ad7a1a7f2ea
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index 881559f..f303712 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -1450,7 +1450,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
uno::Any Content::open(
const ucb::OpenCommandArgument2& rArg,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
if ( rArg.Mode == ucb::OpenMode::ALL ||
rArg.Mode == ucb::OpenMode::FOLDERS ||
diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx
index 1e2a794..6b4c1fd 100644
--- a/ucb/source/ucp/package/pkgcontent.hxx
+++ b/ucb/source/ucp/package/pkgcontent.hxx
@@ -210,7 +210,7 @@ private:
open( const ::com::sun::star::ucb::OpenCommandArgument2& rArg,
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 >& xStream,
commit 5544ad58fcdea137088a6020c4699d3d871dbaa1
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:22:19 2015 +0100
coverity#1308485 Uncaught exception
Change-Id: I0e81d398bb1096dce15b57910f30bbb006ea82c9
diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx
index 72c22f6..c5f3317 100644
--- a/sw/source/core/unocore/unosect.cxx
+++ b/sw/source/core/unocore/unosect.cxx
@@ -150,7 +150,7 @@ public:
GetPropertyValues_Impl(
const uno::Sequence< OUString >& rPropertyNames)
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException);
+ uno::RuntimeException, std::exception);
protected:
// SwClient
virtual void Modify(const SfxPoolItem *pOld, const SfxPoolItem *pNew) SAL_OVERRIDE;
@@ -949,7 +949,7 @@ uno::Sequence< uno::Any >
SwXTextSection::Impl::GetPropertyValues_Impl(
const uno::Sequence< OUString > & rPropertyNames )
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
SwSectionFormat *const pFormat = GetSectionFormat();
if (!pFormat && !m_bIsDescriptor)
commit 1f86fdb464823730f466efe2493fe75f85f8a8fa
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:19:31 2015 +0100
coverity#1308484 Uncaught exception
Change-Id: I2c39d20f1abbfd5c2145d64871699c7e34023d99
diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx
index e6cf941..8e55ea4 100644
--- a/svx/source/unogallery/unogalitem.cxx
+++ b/svx/source/unogallery/unogalitem.cxx
@@ -256,7 +256,8 @@ void GalleryItem::_setPropertyValues( const comphelper::PropertyMapEntry** ppEnt
beans::PropertyVetoException,
lang::IllegalArgumentException,
lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException,
+ std::exception)
{
const SolarMutexGuard aGuard;
diff --git a/svx/source/unogallery/unogalitem.hxx b/svx/source/unogallery/unogalitem.hxx
index e579e0e..e1bb9a2 100644
--- a/svx/source/unogallery/unogalitem.hxx
+++ b/svx/source/unogallery/unogalitem.hxx
@@ -76,7 +76,7 @@ protected:
virtual ::sal_Int8 SAL_CALL getType( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// PropertySetHelper
- virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const ::com::sun::star::uno::Any* pValues ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, css::uno::RuntimeException ) SAL_OVERRIDE;
+ virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const ::com::sun::star::uno::Any* pValues ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, ::com::sun::star::uno::Any* pValue )
throw (css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
commit 91e897bae2ed76df67403a2c563a2d1379f2e174
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:18:47 2015 +0100
coverity#1308483 Uncaught exception
Change-Id: I7d778173ecff7c343b289eb371b53b825f6cc301
diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx
index 549ec14..7cca7ba 100644
--- a/editeng/source/accessibility/AccessibleContextBase.cxx
+++ b/editeng/source/accessibility/AccessibleContextBase.cxx
@@ -568,7 +568,7 @@ void AccessibleContextBase::SetAccessibleName (
OUString AccessibleContextBase::CreateAccessibleDescription()
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return OUString("Empty Description");
}
diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx
index 5d2cb9c..857e2e2 100644
--- a/include/editeng/AccessibleContextBase.hxx
+++ b/include/editeng/AccessibleContextBase.hxx
@@ -316,7 +316,7 @@ protected:
*/
virtual OUString
CreateAccessibleDescription()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
void FireEvent (const ::com::sun::star::accessibility::AccessibleEventObject& aEvent);
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx
index d32baf2..91d8a40 100644
--- a/include/svx/AccessibleShape.hxx
+++ b/include/svx/AccessibleShape.hxx
@@ -447,7 +447,7 @@ protected:
/// Create a description string that contains the accessible description.
virtual OUString
CreateAccessibleDescription()
- throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
OUString
GetFullAccessibleName(AccessibleShape *shape)
throw (::com::sun::star::uno::RuntimeException);
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index 160896a..eeb270e 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -1197,7 +1197,7 @@ OUString AccessibleShape::GetFullAccessibleName (AccessibleShape *shape)
OUString
AccessibleShape::CreateAccessibleDescription()
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
DescriptionGenerator aDG (mxShape);
aDG.Initialize (CreateAccessibleBaseName());
commit 8db808c5003cd10a87b99cbdb193171ce8d0869c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:14:15 2015 +0100
coverity#1308481 Uncaught exception
Change-Id: Ieb1796d1da5b887f7d0d5748007cc581c3d287d7
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index a1523b5..c85c290 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -1125,7 +1125,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/tdoc/tdoc_content.hxx b/ucb/source/ucp/tdoc/tdoc_content.hxx
index 21bdc0c..108b075 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.hxx
@@ -175,7 +175,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::Any
open( const ::com::sun::star::ucb::OpenCommandArgument2& rArg,
commit 445d2283cd954f48d011a9a53b07ecd6964d6dc8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jun 27 20:12:58 2015 +0100
coverity#1308480 Uncaught exception
Change-Id: I991a6504146d5036c0e76ddfe5d852e5f996602f
diff --git a/sw/source/ui/vba/vbastyle.cxx b/sw/source/ui/vba/vbastyle.cxx
index 8ca495d..329aaf6 100644
--- a/sw/source/ui/vba/vbastyle.cxx
+++ b/sw/source/ui/vba/vbastyle.cxx
@@ -47,7 +47,7 @@ SwVbaStyle::getName() throw (uno::RuntimeException, std::exception)
return mxStyle->getName();
}
-sal_Int32 SwVbaStyle::getLanguageID( const uno::Reference< beans::XPropertySet >& xTCProps ) throw (uno::RuntimeException)
+sal_Int32 SwVbaStyle::getLanguageID( const uno::Reference< beans::XPropertySet >& xTCProps ) throw (uno::RuntimeException, std::exception)
{
lang::Locale aLocale;
xTCProps->getPropertyValue("CharLocale") >>= aLocale;
diff --git a/sw/source/ui/vba/vbastyle.hxx b/sw/source/ui/vba/vbastyle.hxx
index 2cab9d4..36541ee 100644
--- a/sw/source/ui/vba/vbastyle.hxx
+++ b/sw/source/ui/vba/vbastyle.hxx
@@ -40,7 +40,7 @@ public:
virtual ~SwVbaStyle(){}
static void setStyle( const css::uno::Reference< css::beans::XPropertySet >& xParaProps, const css::uno::Any& xStyle ) throw (css::uno::RuntimeException);
- static sal_Int32 getLanguageID( const css::uno::Reference< css::beans::XPropertySet >& xTCProps ) throw (css::uno::RuntimeException);
+ static sal_Int32 getLanguageID( const css::uno::Reference< css::beans::XPropertySet >& xTCProps ) throw (css::uno::RuntimeException, std::exception);
static void setLanguageID( const css::uno::Reference< css::beans::XPropertySet >& xTCProps, sal_Int32 _languageid ) throw (css::uno::RuntimeException);
// Attributes
More information about the Libreoffice-commits
mailing list