diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 09:54:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 11:36:27 +0000 |
commit | 15d4fec9206b77e68afde90d84652731ba646b21 (patch) | |
tree | ad08c6d70b057415abd1cbde8e4dabd19b2f68ff /sw | |
parent | 48b987fed3dbe30b1cb7a95a60d8413918d68dbf (diff) |
coverity#1103733 Uncaught exception
Change-Id: Ia6070a4a6d87929ba97df758e4e8972934bee128
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/unocrsrhelper.hxx | 7 | ||||
-rw-r--r-- | sw/source/core/unocore/unocrsrhelper.cxx | 8 |
2 files changed, 9 insertions, 6 deletions
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx index ff9a82538036..86f0b51898dd 100644 --- a/sw/inc/unocrsrhelper.hxx +++ b/sw/inc/unocrsrhelper.hxx @@ -97,8 +97,11 @@ namespace SwUnoCursorHelper void resetCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry, SwPaM& rPam); void InsertFile(SwUnoCrsr* pUnoCrsr, const OUString& rURL, - const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rOptions - ) throw( com::sun::star::lang::IllegalArgumentException, com::sun::star::io::IOException, com::sun::star::uno::RuntimeException ); + const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rOptions) + throw (com::sun::star::lang::IllegalArgumentException, + com::sun::star::io::IOException, + com::sun::star::uno::RuntimeException, + std::exception); void getNumberingProperty( SwPaM& rPam, diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx index 2e2fe64aff36..8de5937c5b6a 100644 --- a/sw/source/core/unocore/unocrsrhelper.cxx +++ b/sw/source/core/unocore/unocrsrhelper.cxx @@ -956,10 +956,10 @@ void resetCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry, SwPaM& rPa } } -void InsertFile(SwUnoCrsr* pUnoCrsr, - const OUString& rURL, - const uno::Sequence< beans::PropertyValue >& rOptions - ) throw( lang::IllegalArgumentException, io::IOException, uno::RuntimeException ) +void InsertFile(SwUnoCrsr* pUnoCrsr, const OUString& rURL, + const uno::Sequence< beans::PropertyValue >& rOptions) + throw (lang::IllegalArgumentException, io::IOException, + uno::RuntimeException, std::exception) { SfxMedium* pMed = 0; SwDoc* pDoc = pUnoCrsr->GetDoc(); |