dbaccess/source/ui/uno/textconnectionsettings_uno.cxx | 8 ++--- include/comphelper/ChainablePropertySet.hxx | 22 +++++++++++--- sd/source/ui/view/drtxtob.cxx | 2 - sd/source/ui/view/drviews2.cxx | 2 - svx/source/sidebar/insert/InsertPropertyPanel.cxx | 3 + sw/source/core/doc/docbm.cxx | 2 - sw/source/core/uibase/inc/unomod.hxx | 28 ++++++++++++++---- sw/source/core/uibase/uno/unomod.cxx | 18 ++++++++--- ucb/source/ucp/cmis/cmis_content.cxx | 4 +- ucb/source/ucp/cmis/cmis_content.hxx | 4 +- ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx | 6 +-- ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx | 6 +-- ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 - ucb/source/ucp/webdav-neon/NeonSession.hxx | 2 - vcl/source/window/window.cxx | 9 ++--- 15 files changed, 79 insertions(+), 39 deletions(-)
New commits: commit 3b26995b8e704438fc3f2cd5bb4c224d75f64b95 Author: Caolán McNamara <[email protected]> Date: Sat May 24 13:07:31 2014 +0100 Revert "vcl: move included header from end of window.cxx to the start" This reverts commit 4968f83c770edac72cba6ecd81cb096c62e6456a. seeing as its seems to stop windows building diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 01b3308..0950e5c 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -68,11 +68,6 @@ #include <set> #include <typeinfo> -#ifdef WNT // see #140456# -#include <win/salframe.h> -#endif - - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::datatransfer::clipboard; @@ -3719,6 +3714,10 @@ bool Window::IsNativeWidgetEnabled() const return ImplGetWinData()->mbEnableNativeWidget; } +#ifdef WNT // see #140456# +#include <win/salframe.h> +#endif + uno::Reference< rendering::XCanvas > Window::ImplGetCanvas( const Size& rFullscreenSize, bool bFullscreen, bool bSpriteCanvas ) const commit 96e6f65907e68d72d61acf6777d5f615c27ed696 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:59:20 2014 +0100 coverity#983964 Uncaught exception Change-Id: Ieb298e45512ab4c0384ea2d7ef6adcc4adc39923 diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx index 2d28c08..127abcc 100644 --- a/include/comphelper/ChainablePropertySet.hxx +++ b/include/comphelper/ChainablePropertySet.hxx @@ -79,7 +79,11 @@ namespace comphelper css::uno::RuntimeException) = 0; virtual void _preGetValues () - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) = 0; + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) = 0; virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, diff --git a/sw/source/core/uibase/inc/unomod.hxx b/sw/source/core/uibase/inc/unomod.hxx index 30ac56e..27ef4ed 100644 --- a/sw/source/core/uibase/inc/unomod.hxx +++ b/sw/source/core/uibase/inc/unomod.hxx @@ -148,7 +148,11 @@ protected: throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; virtual void _preGetValues () - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) SAL_OVERRIDE; virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, diff --git a/sw/source/core/uibase/uno/unomod.cxx b/sw/source/core/uibase/uno/unomod.cxx index be85366..b637073 100644 --- a/sw/source/core/uibase/uno/unomod.cxx +++ b/sw/source/core/uibase/uno/unomod.cxx @@ -816,7 +816,9 @@ void SwXViewSettings::_postSetValues () } void SwXViewSettings::_preGetValues () - throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) + throw (UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, + RuntimeException) { if(pView) { commit f3ba1de5e55e56113050752ef0676cdb880f417e Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:55:13 2014 +0100 coverity#983965 Uncaught exception Change-Id: I79a505eb9fbc7be6e70bd1098d47a6e8be1e04ed diff --git a/sw/source/core/uibase/inc/unomod.hxx b/sw/source/core/uibase/inc/unomod.hxx index 917144c..30ac56e 100644 --- a/sw/source/core/uibase/inc/unomod.hxx +++ b/sw/source/core/uibase/inc/unomod.hxx @@ -137,7 +137,11 @@ protected: bool mbApplyVRulerMetric; virtual void _preSetValues () - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) SAL_OVERRIDE; virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; virtual void _postSetValues () diff --git a/sw/source/core/uibase/uno/unomod.cxx b/sw/source/core/uibase/uno/unomod.cxx index b166f21..be85366 100644 --- a/sw/source/core/uibase/uno/unomod.cxx +++ b/sw/source/core/uibase/uno/unomod.cxx @@ -581,7 +581,9 @@ SwXViewSettings::~SwXViewSettings() } void SwXViewSettings::_preSetValues () - throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) + throw (UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, + RuntimeException) { const SwViewOption* pVOpt = 0; if(pView) commit 652eb268f0902d96a359ef803c3d8ac0721ca7ac Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:50:24 2014 +0100 coverity#983966 Uncaught exception Change-Id: I4928d7e9c9f4cd0dd3f6b1236da9283666766a47 diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx index fe294d3..2d28c08 100644 --- a/include/comphelper/ChainablePropertySet.hxx +++ b/include/comphelper/ChainablePropertySet.hxx @@ -81,7 +81,9 @@ namespace comphelper virtual void _preGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) = 0; virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ) = 0; + throw (css::beans::UnknownPropertyException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) = 0; virtual void _postGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) = 0; diff --git a/sw/source/core/uibase/inc/unomod.hxx b/sw/source/core/uibase/inc/unomod.hxx index 4931b5a..917144c 100644 --- a/sw/source/core/uibase/inc/unomod.hxx +++ b/sw/source/core/uibase/inc/unomod.hxx @@ -146,7 +146,9 @@ protected: virtual void _preGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + throw (css::beans::UnknownPropertyException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) SAL_OVERRIDE; virtual void _postGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/uno/unomod.cxx b/sw/source/core/uibase/uno/unomod.cxx index 98ce7e7..b166f21 100644 --- a/sw/source/core/uibase/uno/unomod.cxx +++ b/sw/source/core/uibase/uno/unomod.cxx @@ -827,7 +827,7 @@ void SwXViewSettings::_preGetValues () } void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, uno::Any & rValue ) - throw(UnknownPropertyException, WrappedTargetException ) + throw (UnknownPropertyException, WrappedTargetException, RuntimeException) { bool bBool = true; sal_Bool bBoolVal; commit 26055db273f6ee5da37b56f5fc5cabd7d2d1823e Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:47:37 2014 +0100 coverity#983968 Uncaught exception Change-Id: I316fba5afdc0ca913d9932eba8a35ad3a9bf0bbe diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx index 95f832d..fe294d3 100644 --- a/include/comphelper/ChainablePropertySet.hxx +++ b/include/comphelper/ChainablePropertySet.hxx @@ -72,7 +72,11 @@ namespace comphelper virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) = 0; virtual void _postSetValues () - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) = 0; + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) = 0; virtual void _preGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) = 0; diff --git a/sw/source/core/uibase/inc/unomod.hxx b/sw/source/core/uibase/inc/unomod.hxx index 5e087bf..4931b5a 100644 --- a/sw/source/core/uibase/inc/unomod.hxx +++ b/sw/source/core/uibase/inc/unomod.hxx @@ -94,7 +94,11 @@ protected: virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; virtual void _postSetValues () - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) SAL_OVERRIDE; virtual void _preGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/uno/unomod.cxx b/sw/source/core/uibase/uno/unomod.cxx index b279ce3..98ce7e7 100644 --- a/sw/source/core/uibase/uno/unomod.cxx +++ b/sw/source/core/uibase/uno/unomod.cxx @@ -429,7 +429,9 @@ void SwXPrintSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, } void SwXPrintSettings::_postSetValues () - throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) + throw (UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, + RuntimeException) { mpPrtOpt = NULL; } commit 9329cd7fbef877e32d65f046e19004186c2625da Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:44:42 2014 +0100 coverity#983969 Uncaught exception Change-Id: I56c8145f45da3f3265ddcc22a011ec6111b0a8ca diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx index 8c7c35f..95f832d 100644 --- a/include/comphelper/ChainablePropertySet.hxx +++ b/include/comphelper/ChainablePropertySet.hxx @@ -64,7 +64,11 @@ namespace comphelper ::com::sun::star::uno::Reference < com::sun::star::beans::XPropertySetInfo > mxInfo; virtual void _preSetValues () - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) = 0; + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) = 0; virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) = 0; virtual void _postSetValues () diff --git a/sw/source/core/uibase/inc/unomod.hxx b/sw/source/core/uibase/inc/unomod.hxx index 41b59c4..5e087bf 100644 --- a/sw/source/core/uibase/inc/unomod.hxx +++ b/sw/source/core/uibase/inc/unomod.hxx @@ -86,7 +86,11 @@ protected: SwDoc *mpDoc; virtual void _preSetValues () - throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; + throw (css::beans::UnknownPropertyException, + css::beans::PropertyVetoException, + css::lang::IllegalArgumentException, + css::lang::WrappedTargetException, + css::uno::RuntimeException) SAL_OVERRIDE; virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE; virtual void _postSetValues () diff --git a/sw/source/core/uibase/uno/unomod.cxx b/sw/source/core/uibase/uno/unomod.cxx index d70e371..b279ce3 100644 --- a/sw/source/core/uibase/uno/unomod.cxx +++ b/sw/source/core/uibase/uno/unomod.cxx @@ -276,7 +276,9 @@ SwXPrintSettings::~SwXPrintSettings() } void SwXPrintSettings::_preSetValues () - throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ) + throw (UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, + RuntimeException) { switch (meType) { commit cbb853731affe0c57095a7092bf046bf04eadfd9 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:33:05 2014 +0100 coverity#983986 Uncaught exception Change-Id: I2ed7ed82e1680435bc899d8113efc12874d206f6 diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 06dc1ee..748aadd 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -839,7 +839,7 @@ namespace cmis uno::Any Content::open(const ucb::OpenCommandArgument2 & rOpenCommand, const uno::Reference< ucb::XCommandEnvironment > & xEnv ) - throw( uno::Exception ) + throw( uno::Exception, libcmis::Exception ) { bool bIsFolder = isFolder( xEnv ); diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index 99f3dba..559ce9a 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -87,7 +87,7 @@ private: com::sun::star::uno::Any 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, libcmis::Exception ); void transfer( const com::sun::star::ucb::TransferInfo& rTransferInfo, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv ) commit 68f383eac5cde1cd1e8d3f5ed61e65f3c98507d8 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:28:35 2014 +0100 coverity#983991 Uncaught exception Change-Id: Ic3bfd8b137f750b84ee584b74ad4fba6fc6220e4 diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 6a3df78..06dc1ee 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -367,7 +367,7 @@ namespace cmis } - libcmis::ObjectPtr Content::getObject( const uno::Reference< ucb::XCommandEnvironment >& xEnv ) throw ( libcmis::Exception ) + libcmis::ObjectPtr Content::getObject( const uno::Reference< ucb::XCommandEnvironment >& xEnv ) throw (css::uno::RuntimeException, libcmis::Exception) { // can't get the session for some reason // the recent file openning at start up is an example. diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index 77da48e..99f3dba 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -205,7 +205,7 @@ public: virtual std::list< com::sun::star::uno::Reference< com::sun::star::ucb::XContent > > getChildren( ) SAL_OVERRIDE; - libcmis::ObjectPtr getObject( const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv ) throw ( libcmis::Exception ); + libcmis::ObjectPtr getObject( const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv ) throw (css::uno::RuntimeException, libcmis::Exception); }; } commit 87bbc7f9b20ed751f082cc56c424e3059964d972 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:24:37 2014 +0100 coverity#983992 Uncaught exception Change-Id: I9a074690d1cc85ec48633e3fae46c4d15186108f diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx index 1a8e005..cb4caf7 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx @@ -589,7 +589,7 @@ namespace { void DAVResourceAccess::PUT( const uno::Reference< io::XInputStream > & rStream, const uno::Reference< ucb::XCommandEnvironment > & xEnv ) - throw( DAVException ) + throw (css::uno::RuntimeException, DAVException) { initialize(); diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx index 69bac4d..481fc17 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx @@ -162,7 +162,7 @@ public: com::sun::star::io::XInputStream > & rStream, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + throw (css::uno::RuntimeException, DAVException); com::sun::star::uno::Reference< com::sun::star::io::XInputStream > POST( const OUString & rContentType, commit 0ac9d7a4a8467e1fdedfda5939524ee7ef1d073c Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:23:28 2014 +0100 coverity#983993 Uncaught exception Change-Id: I3321f847e6aeb3435f8c2dc77c495d1d4c027007 diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx index f8ce499..1a8e005 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx @@ -638,7 +638,7 @@ uno::Reference< io::XInputStream > DAVResourceAccess::POST( const OUString & rReferer, const uno::Reference< io::XInputStream > & rInputStream, const uno::Reference< ucb::XCommandEnvironment >& xEnv ) - throw ( DAVException ) + throw (css::uno::RuntimeException, DAVException) { initialize(); diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx index 1b50a35..69bac4d 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx @@ -171,7 +171,7 @@ public: com::sun::star::io::XInputStream > & rInputStream, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv ) - throw ( DAVException ); + throw (css::uno::RuntimeException, DAVException); void POST( const OUString & rContentType, commit 2dc4632f17102f797a62675296bfbd8c58c53649 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:22:24 2014 +0100 coverity#983994 Uncaught exception Change-Id: Ie74924e0222f9d3fbb3bcbae9242399f50b64a18 diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx index 457e0e9..f8ce499 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx @@ -702,7 +702,7 @@ void DAVResourceAccess::POST( const uno::Reference< io::XInputStream > & rInputStream, uno::Reference< io::XOutputStream > & rOutputStream, const uno::Reference< ucb::XCommandEnvironment >& xEnv ) - throw ( DAVException ) + throw (css::uno::RuntimeException, DAVException) { initialize(); diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx index e06d16f..1b50a35 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx @@ -182,7 +182,7 @@ public: com::sun::star::io::XOutputStream > & rOutputStream, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv ) - throw ( DAVException ); + throw (css::uno::RuntimeException, DAVException); void MKCOL( const com::sun::star::uno::Reference< commit d6e0201fa9917b501b9c3c055c903ce755690953 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:13:10 2014 +0100 coverity#983995 Uncaught exception Change-Id: I2ba52bee850646a82153df898fb73e2b01720598 diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 0f89635..6a9a349 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -625,7 +625,7 @@ void NeonSession::Init( const DAVRequestEnvironment & rEnv ) } void NeonSession::Init() - throw ( std::exception ) + throw (css::uno::RuntimeException, std::exception ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); diff --git a/ucb/source/ucp/webdav-neon/NeonSession.hxx b/ucb/source/ucp/webdav-neon/NeonSession.hxx index 2906af4..7a24757 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.hxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.hxx @@ -233,7 +233,7 @@ private: friend class NeonLockStore; void Init( void ) - throw ( std::exception ); + throw (css::uno::RuntimeException, std::exception); void Init( const DAVRequestEnvironment & rEnv ) throw ( std::exception ); commit a71f7409c50ec02f73aec63605605625ddaa52a2 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:11:39 2014 +0100 coverity#989714 Unchecked dynamic_cast Change-Id: I0be5ad2429af7667ccea4ac491ad661eec67d398 diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 6519285..901ac71 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -828,7 +828,7 @@ namespace sw { namespace mark { } virtual ~LazyFieldmarkDeleter() { - dynamic_cast<Fieldmark *>(m_pFieldmark.get())->ReleaseDoc(m_pDoc); + dynamic_cast<Fieldmark&>(*m_pFieldmark.get()).ReleaseDoc(m_pDoc); } }; commit c51fe1cf11cfe919b39966bb40f5be0f2e39d2a3 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:08:52 2014 +0100 coverity#1000603 Unchecked dynamic_cast Change-Id: Ia750c9cc1c6a4182d220ad22013ac1450c498539 diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx index ec24fc9..88dc2ae 100644 --- a/sd/source/ui/view/drtxtob.cxx +++ b/sd/source/ui/view/drtxtob.cxx @@ -214,7 +214,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet ) { if( nSlotId == SID_ATTR_CHAR_FONTHEIGHT ) { - SvxFontHeightItem aFontItem = *(dynamic_cast<const SvxFontHeightItem *>(pI)); + SvxFontHeightItem aFontItem = dynamic_cast<const SvxFontHeightItem&>(*pI); aFontItem.SetHeight(aFontItem.GetHeight(), stretchX, aFontItem.GetPropUnit()); aAttrSet.Put( aFontItem, nWhich ); } commit 15e030839b53554c722251660a7bce4a0176b4df Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:03:33 2014 +0100 coverity#1000843 Uncaught exception Change-Id: Iad3368c1345b0c9674c069ff7981d3c40f7f7139 diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx index b6f5384..6e81e76 100644 --- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx +++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx @@ -91,7 +91,7 @@ namespace dbaui { return ODatabaseAdministrationDialog::getPropertyValue(p1); } virtual void SAL_CALL addPropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::addPropertyChangeListener(p1, p2); } - virtual void SAL_CALL removePropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + virtual void SAL_CALL removePropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::removePropertyChangeListener(p1, p2); } virtual void SAL_CALL addVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::addVetoableChangeListener(p1, p2); } commit 2448ed63610dffa54d4ec988628a3f7e29a3ecf4 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:02:33 2014 +0100 coverity#1000844 Uncaught exception Change-Id: I2e322d4861da05e04dfe19fa15f9bc281e1ef0d8 diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx index c6b34e5..b6f5384 100644 --- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx +++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx @@ -93,7 +93,7 @@ namespace dbaui { ODatabaseAdministrationDialog::addPropertyChangeListener(p1, p2); } virtual void SAL_CALL removePropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::removePropertyChangeListener(p1, p2); } - virtual void SAL_CALL addVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + virtual void SAL_CALL addVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::addVetoableChangeListener(p1, p2); } virtual void SAL_CALL removeVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::removeVetoableChangeListener(p1, p2); } commit 83878c413dbe99f753e0a2f803fb5ef369eb8b26 Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:01:43 2014 +0100 coverity#1000845 Uncaught exception Change-Id: I968baef18f9a14301d69a5eaad07ceb8b9633062 diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx index 8ce4327..c6b34e5 100644 --- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx +++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx @@ -89,7 +89,7 @@ namespace dbaui { ODatabaseAdministrationDialog::setPropertyValue(p1, p2); } virtual css::uno::Any SAL_CALL getPropertyValue(const OUString& p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ODatabaseAdministrationDialog::getPropertyValue(p1); } - virtual void SAL_CALL addPropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + virtual void SAL_CALL addPropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::addPropertyChangeListener(p1, p2); } virtual void SAL_CALL removePropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::removePropertyChangeListener(p1, p2); } commit 2235d53bde2c8be7ed07e5cb2969e236083da4df Author: Caolán McNamara <[email protected]> Date: Sat May 24 12:00:56 2014 +0100 coverity#1000846 Uncaught exception Change-Id: I4e92ad97e7b3567c028d63ac0936fa9cdef12e24 diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx index 94c6ede..8ce4327 100644 --- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx +++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx @@ -95,7 +95,7 @@ namespace dbaui { ODatabaseAdministrationDialog::removePropertyChangeListener(p1, p2); } virtual void SAL_CALL addVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::addVetoableChangeListener(p1, p2); } - virtual void SAL_CALL removeVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + virtual void SAL_CALL removeVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::removeVetoableChangeListener(p1, p2); } virtual void SAL_CALL setTitle(const OUString& p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { ODatabaseAdministrationDialog::setTitle(p1); } commit eb410d6dddeecc2b6c0c13cb57b39cd59012c250 Author: Caolán McNamara <[email protected]> Date: Sat May 24 11:56:18 2014 +0100 coverity#1027647 Unchecked dynamic_cast Change-Id: I89a4cf7a8146205bc5c70e8e34111ff54afc5cf3 diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 99542d8..3959c11 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -3064,7 +3064,7 @@ void DrawViewShell::ExecChar( SfxRequest &rReq ) case SID_GROW_FONT_SIZE: { const SvxFontListItem* pFonts = dynamic_cast<const SvxFontListItem*>(GetDocSh()->GetItem( SID_ATTR_CHAR_FONTLIST ) ); - const FontList* pFontList = pFonts->GetFontList(); + const FontList* pFontList = pFonts ? pFonts->GetFontList() : NULL; if( pFontList ) { FuText::ChangeFontSize( nSId == SID_GROW_FONT_SIZE, NULL, pFontList, mpView ); commit 8e304f80bbb7e2d6bab449d97bc6cb59d73069f3 Author: Caolán McNamara <[email protected]> Date: Sat May 24 11:54:48 2014 +0100 coverity#1027650 Unchecked dynamic_cast Change-Id: Ic1973463e4c6d85bbfacc077f58f7d1fe16de73a diff --git a/svx/source/sidebar/insert/InsertPropertyPanel.cxx b/svx/source/sidebar/insert/InsertPropertyPanel.cxx index 7a8bf59..9cc47bc 100644 --- a/svx/source/sidebar/insert/InsertPropertyPanel.cxx +++ b/svx/source/sidebar/insert/InsertPropertyPanel.cxx @@ -99,7 +99,8 @@ IMPL_LINK(InsertPropertyPanel, WindowEventListener, VclSimpleEvent*, pEvent) if (pEvent->GetId() != VCLEVENT_TOOLBOX_SELECT) return 1; - Window* pWindow = dynamic_cast<VclWindowEvent*>(pEvent)->GetWindow(); + VclWindowEvent* pWindowEvent = dynamic_cast<VclWindowEvent*>(pEvent); + Window* pWindow = pWindowEvent ? pWindowEvent->GetWindow() : NULL; ToolBox* pToolBox = dynamic_cast<ToolBox*>(pWindow); if (pToolBox == NULL) return 1;
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
