[Libreoffice-commits] core.git: 33 commits - include/xmloff sw/inc sw/source xmloff/source

Caolán McNamara caolanm at redhat.com
Tue Feb 25 06:28:30 PST 2014


 include/xmloff/xmlimp.hxx           |    6 ++--
 sw/inc/unochart.hxx                 |   35 +++++++++++++++++++-----
 sw/inc/unodraw.hxx                  |    4 ++
 sw/inc/unostyle.hxx                 |   21 ++++++++++++--
 sw/inc/unotbl.hxx                   |   51 ++++++++++++++++++++++++++++--------
 sw/inc/unotextcursor.hxx            |    3 +-
 sw/inc/unotxdoc.hxx                 |   23 +++++++++++++---
 sw/source/core/unocore/unochart.cxx |   25 +++++++++--------
 sw/source/core/unocore/unodraw.cxx  |    3 +-
 sw/source/core/unocore/unoobj.cxx   |    2 -
 sw/source/core/unocore/unostyle.cxx |   13 +++++----
 sw/source/core/unocore/unotbl.cxx   |   44 +++++++++++++++++++------------
 sw/source/filter/xml/xmlimp.cxx     |    6 ++--
 sw/source/filter/xml/xmlimp.hxx     |    6 ++--
 sw/source/ui/inc/uivwimp.hxx        |    3 +-
 sw/source/ui/inc/unodispatch.hxx    |    4 ++
 sw/source/ui/inc/unomailmerge.hxx   |    6 +++-
 sw/source/ui/inc/unotxvw.hxx        |    4 ++
 sw/source/ui/uiview/uivwimp.cxx     |    2 -
 sw/source/ui/uno/unodispatch.cxx    |    5 ++-
 sw/source/ui/uno/unomailmerge.cxx   |    3 +-
 sw/source/ui/uno/unotxdoc.cxx       |   18 +++++++-----
 sw/source/ui/uno/unotxvw.cxx        |    3 +-
 xmloff/source/core/xmlimp.cxx       |    6 ++--
 24 files changed, 209 insertions(+), 87 deletions(-)

New commits:
commit f0d873b7063bfb6bb45ad364bb4bd39b5c6c0c12
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 14:06:30 2014 +0000

    coverity#738416 Uncaught exception
    
    Change-Id: I94ae558032d16f3000909c266c808d4c187c0e70

diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index ef72f2c..cda5439 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -371,7 +371,8 @@ public:
                css::beans::PropertyVetoException,
                css::lang::IllegalArgumentException,
                css::lang::WrappedTargetException,
-               css::uno::RuntimeException);
+               css::uno::RuntimeException,
+               std::exception);
     virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
     virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
     virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx
index 2d39a05..67df9de 100644
--- a/sw/source/ui/inc/unotxvw.hxx
+++ b/sw/source/ui/inc/unotxvw.hxx
@@ -206,7 +206,9 @@ public:
     virtual void SAL_CALL gotoRange( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange >& xRange, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
 
     //XPageCursor
-    virtual sal_Bool SAL_CALL jumpToFirstPage(void) throw( ::com::sun::star::uno::RuntimeException );
+    virtual sal_Bool SAL_CALL jumpToFirstPage()
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual sal_Bool SAL_CALL jumpToLastPage()
         throw (::com::sun::star::uno::RuntimeException,
                std::exception);
diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx
index 6661815..9e89c32 100644
--- a/sw/source/ui/uno/unotxvw.cxx
+++ b/sw/source/ui/uno/unotxvw.cxx
@@ -1217,7 +1217,8 @@ void SwXTextViewCursor::gotoEnd(sal_Bool bExpand) throw( uno::RuntimeException )
         throw uno::RuntimeException();
 }
 
-sal_Bool SwXTextViewCursor::jumpToFirstPage(void) throw( uno::RuntimeException )
+sal_Bool SwXTextViewCursor::jumpToFirstPage()
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     sal_Bool bRet = sal_False;
commit e6b2349ff0fc19451b4a8055239bc31ddf863dae
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:55:59 2014 +0000

    coverity#738372 Uncaught exception
    
    Change-Id: I83ebbdde3be1163bbd52bd1f4e49aab11e6d0e58

diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index 899efb2..ef72f2c 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -416,7 +416,10 @@ public:
     virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getXForms(  ) throw (css::uno::RuntimeException);
 
     // css::document::XDocumentLanguages
-    virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getDocumentLanguages( ::sal_Int16 nScriptTypes, ::sal_Int16 nCount ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
+    virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getDocumentLanguages( ::sal_Int16 nScriptTypes, ::sal_Int16 nCount )
+        throw (css::lang::IllegalArgumentException,
+               css::uno::RuntimeException,
+               std::exception);
 
     // css::text::XFlatParagraphIteratorProvider:
     virtual css::uno::Reference< css::text::XFlatParagraphIterator > SAL_CALL getFlatParagraphIterator(::sal_Int32 nTextMarkupType, sal_Bool bAutomatic ) throw (css::uno::RuntimeException);
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index 49a6857..b69a8d7 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -3137,7 +3137,9 @@ void SAL_CALL SwXTextDocument::operator delete( void * p) throw()
 uno::Sequence< lang::Locale > SAL_CALL SwXTextDocument::getDocumentLanguages(
         ::sal_Int16 nScriptTypes,
         ::sal_Int16 nMaxCount )
-    throw (lang::IllegalArgumentException, uno::RuntimeException)
+    throw (lang::IllegalArgumentException,
+           uno::RuntimeException,
+           std::exception)
 {
     SolarMutexGuard aGuard;
 
commit c80621d399bef649a57a3300efa7d4fab2746670
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:54:00 2014 +0000

    coverity#738369 Uncaught exception
    
    Change-Id: I0c1c30d5e2b9bd9ca176792edf720f8af3979ca8

diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index 551b9c5..899efb2 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -366,7 +366,12 @@ public:
 
     //XPropertySet
     virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(css::uno::RuntimeException);
-    virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException);
+    virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue )
+        throw (css::beans::UnknownPropertyException,
+               css::beans::PropertyVetoException,
+               css::lang::IllegalArgumentException,
+               css::lang::WrappedTargetException,
+               css::uno::RuntimeException);
     virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
     virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
     virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index 1af179a..49a6857 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -1811,10 +1811,10 @@ Reference< XPropertySetInfo >  SwXTextDocument::getPropertySetInfo(void) throw(
     return xRet;
 }
 
-void SwXTextDocument::setPropertyValue(const OUString& rPropertyName,
-    const Any& aValue)
-    throw( UnknownPropertyException, PropertyVetoException, IllegalArgumentException,
-                                         WrappedTargetException, RuntimeException)
+void SwXTextDocument::setPropertyValue(const OUString& rPropertyName, const Any& aValue)
+    throw (UnknownPropertyException, PropertyVetoException,
+           IllegalArgumentException, WrappedTargetException,
+           RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if(!IsValid())
commit 856ec7313efe971866c65c1e7dfda6ced43f2451
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:51:42 2014 +0000

    coverity#738367 Uncaught exception
    
    Change-Id: I41afb24b6570132164bfc469ec9cb4bcfc0cba2b

diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index ae4d127..551b9c5 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -394,7 +394,10 @@ public:
     virtual void SAL_CALL updateLinks(  ) throw(css::uno::RuntimeException);
 
     // css::view::XRenderable
-    virtual sal_Int32 SAL_CALL getRendererCount( const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
+    virtual sal_Int32 SAL_CALL getRendererCount( const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions )
+        throw (css::lang::IllegalArgumentException,
+               css::uno::RuntimeException,
+               std::exception);
     virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getRenderer( sal_Int32 nRenderer, const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions )
         throw (css::lang::IllegalArgumentException,
                css::uno::RuntimeException,
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index 3832e9a..1af179a 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -2479,7 +2479,8 @@ static void lcl_SavePrintUIOptionsToDocumentPrintData(
 sal_Int32 SAL_CALL SwXTextDocument::getRendererCount(
         const uno::Any& rSelection,
         const uno::Sequence< beans::PropertyValue >& rxOptions )
-    throw (IllegalArgumentException, RuntimeException)
+    throw (IllegalArgumentException, RuntimeException,
+           std::exception)
 {
     SolarMutexGuard aGuard;
     if(!IsValid())
commit 7b3db94ac71d9151283678205f56d43aa7dde064
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:50:47 2014 +0000

    coverity#738360 Uncaught exception
    
    Change-Id: I5f21bf9ba7fb396b209623861cb9f555c3b5d6a1

diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index 3a72a92..ae4d127 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -395,7 +395,10 @@ public:
 
     // css::view::XRenderable
     virtual sal_Int32 SAL_CALL getRendererCount( const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-    virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getRenderer( sal_Int32 nRenderer, const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
+    virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getRenderer( sal_Int32 nRenderer, const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions )
+        throw (css::lang::IllegalArgumentException,
+               css::uno::RuntimeException,
+               std::exception);
     virtual void SAL_CALL render( sal_Int32 nRenderer, const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions )
         throw (css::lang::IllegalArgumentException,
                css::uno::RuntimeException,
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index 54eed36..3832e9a 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -2652,7 +2652,8 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwXTextDocument::getRenderer(
         sal_Int32 nRenderer,
         const uno::Any& rSelection,
         const uno::Sequence< beans::PropertyValue >& rxOptions )
-    throw (IllegalArgumentException, RuntimeException)
+    throw (IllegalArgumentException, RuntimeException,
+           std::exception)
 {
     SolarMutexGuard aGuard;
     if(!IsValid())
commit d6740ca95eb795992ceb4834b1b36bfdfa2faa4a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:49:28 2014 +0000

    coverity#738351 Uncaught exception
    
    Change-Id: I007084047ea6640afbb4b6a451565d6561174b5c

diff --git a/sw/source/ui/inc/unomailmerge.hxx b/sw/source/ui/inc/unomailmerge.hxx
index 09d4beb..0c37e24 100644
--- a/sw/source/ui/inc/unomailmerge.hxx
+++ b/sw/source/ui/inc/unomailmerge.hxx
@@ -156,7 +156,11 @@ public:
     void LaunchMailMergeEvent( const com::sun::star::text::MailMergeEvent &rData ) const;
 
     // XJob
-    virtual ::com::sun::star::uno::Any SAL_CALL execute( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& Arguments ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
+    virtual ::com::sun::star::uno::Any SAL_CALL execute( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& Arguments )
+        throw (::com::sun::star::lang::IllegalArgumentException,
+               ::com::sun::star::uno::Exception,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     // XCancellable
     virtual void SAL_CALL cancel() throw (com::sun::star::uno::RuntimeException);
diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx
index 2e839d7..a2dcd06 100644
--- a/sw/source/ui/uno/unomailmerge.cxx
+++ b/sw/source/ui/uno/unomailmerge.cxx
@@ -433,7 +433,8 @@ private:
 
 uno::Any SAL_CALL SwXMailMerge::execute(
         const uno::Sequence< beans::NamedValue >& rArguments )
-    throw (IllegalArgumentException, Exception, RuntimeException)
+    throw (IllegalArgumentException, Exception,
+           RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     MailMergeExecuteFinalizer aFinalizer(this);
commit b2a19533927ff32809e47ef0c1e627b69a26da63
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:47:49 2014 +0000

    coverity#738348 Uncaught exception
    
    Change-Id: I0c3b4c1f6aa7efb98c7e96b9f71d47ea51576936

diff --git a/sw/source/ui/inc/unodispatch.hxx b/sw/source/ui/inc/unodispatch.hxx
index cf87c5d..791c297 100644
--- a/sw/source/ui/inc/unodispatch.hxx
+++ b/sw/source/ui/inc/unodispatch.hxx
@@ -108,7 +108,9 @@ public:
     SwXDispatch(SwView& rView);
     ~SwXDispatch();
 
-    virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw(::com::sun::star::uno::RuntimeException);
+    virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs )
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, const ::com::sun::star::util::URL& aURL ) throw(::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, const ::com::sun::star::util::URL& aURL ) throw(::com::sun::star::uno::RuntimeException);
 
diff --git a/sw/source/ui/uno/unodispatch.cxx b/sw/source/ui/uno/unodispatch.cxx
index 0df0f8f..4d759ca 100644
--- a/sw/source/ui/uno/unodispatch.cxx
+++ b/sw/source/ui/uno/unodispatch.cxx
@@ -202,8 +202,9 @@ SwXDispatch::~SwXDispatch()
     }
 }
 
-void SwXDispatch::dispatch(
-    const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs ) throw(uno::RuntimeException)
+void SwXDispatch::dispatch(const util::URL& aURL,
+    const uno::Sequence< beans::PropertyValue >& aArgs)
+        throw (uno::RuntimeException, std::exception)
 {
     if(!m_pView)
         throw uno::RuntimeException();
commit 475de88f19ce629d5ff60a61bb35365a265ab1b4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:46:36 2014 +0000

    coverity#738316 Uncaught exception
    
    Change-Id: I9b5f180e81d7703ffb7dc911e81305309b8575cf

diff --git a/sw/source/ui/inc/uivwimp.hxx b/sw/source/ui/inc/uivwimp.hxx
index 9426b2e..842f6b1 100644
--- a/sw/source/ui/inc/uivwimp.hxx
+++ b/sw/source/ui/inc/uivwimp.hxx
@@ -72,7 +72,8 @@ class SwClipboardChangeListener : public ::cppu::WeakImplHelper1<
 
     // XClipboardListener
     virtual void SAL_CALL changedContents( const ::com::sun::star::datatransfer::clipboard::ClipboardEvent& rEventObject )
-        throw ( com::sun::star::uno::RuntimeException );
+        throw (com::sun::star::uno::RuntimeException,
+               std::exception);
 
 public:
     SwClipboardChangeListener( SwView& rView ) : pView( &rView ) {}
diff --git a/sw/source/ui/uiview/uivwimp.cxx b/sw/source/ui/uiview/uivwimp.cxx
index c365a80..1224f53 100644
--- a/sw/source/ui/uiview/uivwimp.cxx
+++ b/sw/source/ui/uiview/uivwimp.cxx
@@ -273,7 +273,7 @@ void SAL_CALL SwClipboardChangeListener::disposing( const EventObject& /*rEventO
 }
 
 void SAL_CALL SwClipboardChangeListener::changedContents( const ::com::sun::star::datatransfer::clipboard::ClipboardEvent& rEventObject )
-    throw ( RuntimeException )
+    throw (RuntimeException, std::exception)
 
 {
     const SolarMutexGuard aGuard;
commit 9f4b335af20217d9d982ae92e946fe9b73cdfa61
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:19:12 2014 +0000

    coverity#738306 Uncaught exception
    
    Change-Id: Id8b343993b22ceb83490c7f2d1f465a728ccb4fc

diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 5b5ee9a..1dd5cd6 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -195,8 +195,10 @@ public:
     static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
 
     // ::com::sun::star::xml::sax::XDocumentHandler
-    virtual void SAL_CALL startDocument(void)
-        throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+    virtual void SAL_CALL startDocument()
+        throw (::com::sun::star::xml::sax::SAXException,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual void SAL_CALL endDocument()
         throw(::com::sun::star::xml::sax::SAXException,
               ::com::sun::star::uno::RuntimeException,
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index 77278f2..657ea34 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -493,8 +493,10 @@ static OTextCursorHelper *lcl_xml_GetSwXTextCursor( const Reference < XTextCurso
     return pTxtCrsr;
 }
 
-void SwXMLImport::startDocument( void )
-    throw( xml::sax::SAXException, uno::RuntimeException )
+void SwXMLImport::startDocument()
+    throw (xml::sax::SAXException,
+           uno::RuntimeException,
+           std::exception)
 {
     // delegate to parent
     SvXMLImport::startDocument();
diff --git a/sw/source/filter/xml/xmlimp.hxx b/sw/source/filter/xml/xmlimp.hxx
index 4b13b6c..e25afd9 100644
--- a/sw/source/filter/xml/xmlimp.hxx
+++ b/sw/source/filter/xml/xmlimp.hxx
@@ -115,8 +115,10 @@ public:
     ~SwXMLImport() throw();
 
     // ::com::sun::star::xml::sax::XDocumentHandler
-    virtual void SAL_CALL startDocument(void)
-        throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+    virtual void SAL_CALL startDocument()
+        throw (::com::sun::star::xml::sax::SAXException,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual void SAL_CALL endDocument(void)
         throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
 
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 4c361e5..46ec380 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -466,8 +466,10 @@ sal_Int64 SAL_CALL SvXMLImport::getSomething( const uno::Sequence< sal_Int8 >& r
     return 0;
 }
 
-void SAL_CALL SvXMLImport::startDocument( void )
-    throw( xml::sax::SAXException, uno::RuntimeException )
+void SAL_CALL SvXMLImport::startDocument()
+    throw (xml::sax::SAXException,
+           uno::RuntimeException,
+           std::exception)
 {
     SAL_INFO( "xmloff.core", "{ SvXMLImport::startDocument" );
     if( !mxGraphicResolver.is() || !mxEmbeddedResolver.is() )
commit e337d2e11dc63568916b25ca996cbf629f60300d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:17:42 2014 +0000

    coverity#738292 Uncaught exception
    
    Change-Id: If0c755489ee319c255d5ac0cd1294ce6a2b0b88f

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index eb014e0..7d57e28 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -247,7 +247,13 @@ public:
 
     //XPropertySet
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
-    virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+    virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue )
+        throw (::com::sun::star::beans::UnknownPropertyException,
+               ::com::sun::star::beans::PropertyVetoException,
+               ::com::sun::star::lang::IllegalArgumentException,
+               ::com::sun::star::lang::WrappedTargetException,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName )
         throw (::com::sun::star::beans::UnknownPropertyException,
                ::com::sun::star::lang::WrappedTargetException,
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 147d942..c914e9d 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -1813,13 +1813,13 @@ uno::Reference< beans::XPropertySetInfo >  SwXTextTableCursor::getPropertySetInf
     return xRef;
 }
 
-void SwXTextTableCursor::setPropertyValue(const OUString& rPropertyName,
-                                                        const uno::Any& aValue)
-            throw( beans::UnknownPropertyException,
-                        beans::PropertyVetoException,
-                     lang::IllegalArgumentException,
-                     lang::WrappedTargetException,
-                     uno::RuntimeException)
+void SwXTextTableCursor::setPropertyValue(const OUString& rPropertyName, const uno::Any& aValue)
+    throw (beans::UnknownPropertyException,
+           beans::PropertyVetoException,
+           lang::IllegalArgumentException,
+           lang::WrappedTargetException,
+           uno::RuntimeException,
+           std::exception)
 {
     SolarMutexGuard aGuard;
     SwUnoCrsr* pUnoCrsr = GetCrsr();
commit 7338669f05957d99f5a5e1a2af951aae5b4a409a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:16:22 2014 +0000

    coverity#738290 Uncaught exception
    
    Change-Id: Ib910a1f8209025131148e6f271b7bf651b936bef

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index efa5843..eb014e0 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -248,7 +248,11 @@ public:
     //XPropertySet
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
-    virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+    virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName )
+        throw (::com::sun::star::beans::UnknownPropertyException,
+               ::com::sun::star::lang::WrappedTargetException,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 6b18d59..147d942 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -1880,7 +1880,10 @@ void SwXTextTableCursor::setPropertyValue(const OUString& rPropertyName,
 }
 
 uno::Any SwXTextTableCursor::getPropertyValue(const OUString& rPropertyName)
-    throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException )
+    throw (beans::UnknownPropertyException,
+           lang::WrappedTargetException,
+           uno::RuntimeException,
+           std::exception)
 {
     SolarMutexGuard aGuard;
     uno::Any aRet;
commit ec9e2bcceb0ff7f78cd9191d1d7dae2ab8fb0ca7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:15:13 2014 +0000

    coverity#738288 Uncaught exception
    
    Change-Id: I7808d4914b675fc2af958943565aaf1b29836ae7

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 68929ee..efa5843 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -228,7 +228,9 @@ public:
     DECLARE_XINTERFACE()
 
     //XTextTableCursor
-    virtual OUString SAL_CALL getRangeName(  ) throw(::com::sun::star::uno::RuntimeException);
+    virtual OUString SAL_CALL getRangeName()
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual sal_Bool SAL_CALL gotoCellByName( const OUString& aCellName, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
     virtual sal_Bool SAL_CALL goLeft( sal_Int16 nCount, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
     virtual sal_Bool SAL_CALL goRight( sal_Int16 nCount, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index a3b8a84..6b18d59 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -1612,7 +1612,8 @@ SwXTextTableCursor::~SwXTextTableCursor()
     delete pUnoCrsr;
 }
 
-OUString SwXTextTableCursor::getRangeName(void) throw( uno::RuntimeException )
+OUString SwXTextTableCursor::getRangeName()
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     OUString aRet;
commit aeafceca82c7270fb158bbd0bbc3572ac8ae4f48
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:14:19 2014 +0000

    coverity#738287 Uncaught exception
    
    Change-Id: Ib96d9b0c695f25b4ac1f26c95309d9990278bd00

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index f6fc9e7..68929ee 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -239,7 +239,9 @@ public:
     virtual sal_Bool SAL_CALL mergeRange()
         throw (::com::sun::star::uno::RuntimeException,
                std::exception);
-    virtual sal_Bool SAL_CALL splitRange( sal_Int16 Count, sal_Bool Horizontal ) throw(::com::sun::star::uno::RuntimeException);
+    virtual sal_Bool SAL_CALL splitRange( sal_Int16 Count, sal_Bool Horizontal )
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     //XPropertySet
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 148d262..a3b8a84 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -1780,7 +1780,8 @@ sal_Bool SwXTextTableCursor::mergeRange()
     return bRet;
 }
 
-sal_Bool SwXTextTableCursor::splitRange(sal_Int16 Count, sal_Bool Horizontal) throw( uno::RuntimeException )
+sal_Bool SwXTextTableCursor::splitRange(sal_Int16 Count, sal_Bool Horizontal)
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if (Count <= 0)
commit 0d39bb06509a4b782123e14a98b1b3e699c235ab
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:13:09 2014 +0000

    coverity#738285 Uncaught exception
    
    Change-Id: I56803135e3740ad72c8abe56ff124dbaa91a5411

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index fd898ef..f6fc9e7 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -236,7 +236,9 @@ public:
     virtual sal_Bool SAL_CALL goDown( sal_Int16 nCount, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL gotoStart( sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL gotoEnd( sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
-    virtual sal_Bool SAL_CALL mergeRange(  ) throw(::com::sun::star::uno::RuntimeException);
+    virtual sal_Bool SAL_CALL mergeRange()
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual sal_Bool SAL_CALL splitRange( sal_Int16 Count, sal_Bool Horizontal ) throw(::com::sun::star::uno::RuntimeException);
 
     //XPropertySet
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 15fb2af..148d262 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -1748,7 +1748,8 @@ void SwXTextTableCursor::gotoEnd(sal_Bool Expand) throw( uno::RuntimeException )
     }
 }
 
-sal_Bool SwXTextTableCursor::mergeRange(void) throw( uno::RuntimeException )
+sal_Bool SwXTextTableCursor::mergeRange()
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     sal_Bool bRet = sal_False;
commit 062249564863659e6e10f9ab34c74792dcbef8dd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:12:15 2014 +0000

    coverity#738282 Uncaught exception
    
    Change-Id: Ia5dd51a19778f370c85544a0fea9833ed6dff909

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 1b2a94c..fd898ef 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -605,7 +605,9 @@ public:
     virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
         throw (::com::sun::star::uno::RuntimeException,
                std::exception);
-    virtual void SAL_CALL removeByIndex(sal_Int32 nIndex, sal_Int32 nCount) throw( ::com::sun::star::uno::RuntimeException );
+    virtual void SAL_CALL removeByIndex(sal_Int32 nIndex, sal_Int32 nCount)
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     //XServiceInfo
     virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index d2f5df2..15fb2af 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -5074,7 +5074,8 @@ void SwXTableColumns::insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
 }
 
 ///@see SwXTableRows::removeByIndex (TODO: seems to be C&P programming here)
-void SwXTableColumns::removeByIndex(sal_Int32 nIndex, sal_Int32 nCount) throw( uno::RuntimeException )
+void SwXTableColumns::removeByIndex(sal_Int32 nIndex, sal_Int32 nCount)
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if (nCount == 0)
commit c4ccc9fd660b8ab1c60e27c1d7c738dddd71941d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:11:18 2014 +0000

    coverity#738280 Uncaught exception
    
    Change-Id: Ia8614dba4bdbe2f4762819765ee99c2ab5d84fb6

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 6aa57a6..1b2a94c 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -602,7 +602,9 @@ public:
     virtual sal_Bool SAL_CALL hasElements(  ) throw(::com::sun::star::uno::RuntimeException);
 
     //XTableColumns
-    virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, sal_Int32 nCount) throw( ::com::sun::star::uno::RuntimeException );
+    virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual void SAL_CALL removeByIndex(sal_Int32 nIndex, sal_Int32 nCount) throw( ::com::sun::star::uno::RuntimeException );
 
     //XServiceInfo
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 7705d6f..d2f5df2 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -5019,7 +5019,8 @@ sal_Bool SwXTableColumns::hasElements(void) throw( uno::RuntimeException )
 }
 
 ///@see SwXTableRows::insertByIndex (TODO: seems to be C&P programming here)
-void SwXTableColumns::insertByIndex(sal_Int32 nIndex, sal_Int32 nCount) throw( uno::RuntimeException )
+void SwXTableColumns::insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if (nCount == 0)
commit 79b8b730b9441d919319c1d6090194c7f16fd89b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:10:15 2014 +0000

    coverity#738277 Uncaught exception
    
    Change-Id: I40f7e40e94b440b055da8bb4821d42e9aae98577

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 01c1bcf..6aa57a6 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -368,7 +368,9 @@ public:
 
     //XSortable
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL createSortDescriptor(void) throw( ::com::sun::star::uno::RuntimeException );
-    virtual void SAL_CALL sort(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& xDescriptor) throw( ::com::sun::star::uno::RuntimeException );
+    virtual void SAL_CALL sort(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& xDescriptor)
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     //XAutoFormattable
     virtual void SAL_CALL autoFormat(const OUString& aName)
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index f62ba84..7705d6f 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -3009,7 +3009,7 @@ uno::Sequence< beans::PropertyValue > SwXTextTable::createSortDescriptor(void)
 }
 
 void SwXTextTable::sort(const uno::Sequence< beans::PropertyValue >& rDescriptor)
-    throw( uno::RuntimeException )
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     SwSortOptions aSortOpt;
commit cc12c920f7cc7ba38251f177c5d3a7813cbf6e28
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:09:10 2014 +0000

    coverity#738275 Uncaught exception
    
    Change-Id: Idb8313c5d44d24c3d5bade3b36ac51d14bc4f5e5

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index f0eddbc..01c1bcf 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -344,7 +344,10 @@ public:
 
     //XCellRange
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCell > SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) throw( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
-    virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) throw(com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
+    virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom )
+        throw (com::sun::star::lang::IndexOutOfBoundsException,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByName( const OUString& aRange )
         throw (::com::sun::star::uno::RuntimeException,
                std::exception);
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 8c33696..f62ba84 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -2531,7 +2531,9 @@ uno::Reference< table::XCellRange >  SwXTextTable::GetRangeByName(SwFrmFmt* pFmt
 
 uno::Reference< table::XCellRange >  SwXTextTable::getCellRangeByPosition(sal_Int32 nLeft, sal_Int32 nTop,
                 sal_Int32 nRight, sal_Int32 nBottom)
-    throw( uno::RuntimeException, lang::IndexOutOfBoundsException )
+    throw (uno::RuntimeException,
+           lang::IndexOutOfBoundsException,
+           std::exception)
 {
     SolarMutexGuard aGuard;
     uno::Reference< table::XCellRange >  aRef;
commit 619de74f3a02888935c6122099d6d513294c9d19
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:07:53 2014 +0000

    coverity#738273 Uncaught exception
    
    Change-Id: I4a1a3721d7d85a9938a9363d751853b864f3a87d

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index ed3d888..f0eddbc 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -329,7 +329,9 @@ public:
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XTableColumns > SAL_CALL getColumns(  ) throw(::com::sun::star::uno::RuntimeException);
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCell > SAL_CALL getCellByName( const OUString& aCellName ) throw(::com::sun::star::uno::RuntimeException);
     virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getCellNames(  ) throw(::com::sun::star::uno::RuntimeException);
-    virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextTableCursor > SAL_CALL createCursorByCellName( const OUString& aCellName ) throw(::com::sun::star::uno::RuntimeException);
+    virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextTableCursor > SAL_CALL createCursorByCellName( const OUString& aCellName )
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     //XTextContent
     virtual void SAL_CALL attach(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException );
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 3e555e7..8c33696 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -2320,7 +2320,7 @@ uno::Sequence< OUString > SwXTextTable::getCellNames(void) throw( uno::RuntimeEx
 }
 
 uno::Reference< text::XTextTableCursor > SwXTextTable::createCursorByCellName(const OUString& CellName)
-    throw( uno::RuntimeException )
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     uno::Reference< text::XTextTableCursor >  xRet;
commit 5bfdb02649b57ac30c57733b727ae169b0f19ec4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:07:03 2014 +0000

    coverity#738272 Uncaught exception
    
    Change-Id: I78b9d67982bef7abd8f26c52f09f710042f60610

diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index ecea107..ed3d888 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -343,7 +343,9 @@ public:
     //XCellRange
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCell > SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) throw( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) throw(com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
-    virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByName( const OUString& aRange ) throw(::com::sun::star::uno::RuntimeException);
+    virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByName( const OUString& aRange )
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     //XChartDataArray
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< double > > SAL_CALL getData(  ) throw(::com::sun::star::uno::RuntimeException);
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index c0ecdb5..3e555e7 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -2563,7 +2563,7 @@ uno::Reference< table::XCellRange >  SwXTextTable::getCellRangeByPosition(sal_In
 }
 
 uno::Reference< table::XCellRange >  SwXTextTable::getCellRangeByName(const OUString& aRange)
-    throw( uno::RuntimeException )
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     uno::Reference< table::XCellRange >  aRef;
commit 685f2b02744202555b379f631e73fad7f29a6a67
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:05:36 2014 +0000

    coverity#738239 Uncaught exception
    
    Change-Id: Iec1b9388661613e37277571714eb5b98cba0d7d6

diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 6c94047..49d5345 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -188,7 +188,13 @@ protected:
     com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxStyleData;
     com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >  mxStyleFamily;
 
-    void SAL_CALL SetPropertyValues_Impl( 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::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+    void SAL_CALL SetPropertyValues_Impl( 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::UnknownPropertyException,
+               ::com::sun::star::beans::PropertyVetoException,
+               ::com::sun::star::lang::IllegalArgumentException,
+               ::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);
 
    virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew);
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 37cee67..529412d 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -2056,8 +2056,9 @@ put_itemset:
 void SAL_CALL SwXStyle::SetPropertyValues_Impl(
     const uno::Sequence< OUString >& rPropertyNames,
     const uno::Sequence< uno::Any >& rValues )
-    throw( beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException,
-            lang::WrappedTargetException, uno::RuntimeException)
+    throw (beans::UnknownPropertyException, beans::PropertyVetoException,
+           lang::IllegalArgumentException, lang::WrappedTargetException,
+           uno::RuntimeException, std::exception)
 {
     if ( !m_pDoc )
         throw uno::RuntimeException();
commit 1a17d01e3cd03a335cd55b165a9b9c98bec22096
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:04:09 2014 +0000

    coverity#738235 Uncaught exception
    
    Change-Id: If8be83cac683eec15a7d4765d2137ad67b8f38c7

diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 7670c26..6c94047 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -86,7 +86,10 @@ public:
     virtual sal_Bool SAL_CALL hasElements(  ) throw(::com::sun::star::uno::RuntimeException);
 
     //XStyleLoader
-    virtual void SAL_CALL loadStylesFromURL(const OUString& rURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aOptions) throw( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException );
+    virtual void SAL_CALL loadStylesFromURL(const OUString& rURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aOptions)
+        throw (::com::sun::star::io::IOException,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getStyleLoaderOptions(void) throw( ::com::sun::star::uno::RuntimeException );
 
     //XServiceInfo
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 909acb2..37cee67 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -366,7 +366,8 @@ sal_Bool SwXStyleFamilies::hasElements(void) throw( uno::RuntimeException )
 
 void SwXStyleFamilies::loadStylesFromURL(const OUString& rURL,
     const uno::Sequence< beans::PropertyValue >& aOptions)
-    throw( io::IOException, uno::RuntimeException )
+    throw (io::IOException, uno::RuntimeException,
+           std::exception)
 {
     SolarMutexGuard aGuard;
     sal_Bool    bLoadStyleText = sal_True;
commit 2156bf1eb7cc4a6558169294f5cb64ef9cf237e4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 13:03:12 2014 +0000

    coverity#738226 Uncaught exception
    
    Change-Id: I253fed91ce31121485b98c33ca36e93d13b1318c

diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 7375947..7670c26 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -289,7 +289,13 @@ public:
 class SwXPageStyle : public SwXStyle
 {
 protected:
-    void SAL_CALL SetPropertyValues_Impl( 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::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+    void SAL_CALL SetPropertyValues_Impl( 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::UnknownPropertyException,
+               ::com::sun::star::beans::PropertyVetoException,
+               ::com::sun::star::lang::IllegalArgumentException,
+               ::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);
 
 public:
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index ba97b9c3..909acb2 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -2987,8 +2987,9 @@ static void lcl_putItemToSet(const SvxSetItem* pSetItem, sal_uInt16 nRes, sal_uI
 void SAL_CALL SwXPageStyle::SetPropertyValues_Impl(
     const uno::Sequence< OUString >& rPropertyNames,
     const uno::Sequence< uno::Any >& rValues )
-    throw( beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException,
-            lang::WrappedTargetException, uno::RuntimeException)
+    throw (beans::UnknownPropertyException, beans::PropertyVetoException,
+           lang::IllegalArgumentException, lang::WrappedTargetException,
+           uno::RuntimeException, std::exception)
 {
     if(!GetDoc())
         throw uno::RuntimeException();
commit 751d4149036f5c180d3531f3cbf25d22bfd19735
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:58:59 2014 +0000

    coverity#738175 Uncaught exception
    
    Change-Id: I3079483d66abfd269af76f4ba7d685e79637bfde

diff --git a/sw/inc/unotextcursor.hxx b/sw/inc/unotextcursor.hxx
index b683976..e38c2ed 100644
--- a/sw/inc/unotextcursor.hxx
+++ b/sw/inc/unotextcursor.hxx
@@ -272,7 +272,8 @@ public:
     virtual void SAL_CALL sort(
             const ::com::sun::star::uno::Sequence<
                 ::com::sun::star::beans::PropertyValue >& xDescriptor)
-        throw (::com::sun::star::uno::RuntimeException);
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     // XDocumentInsertable
     virtual void SAL_CALL insertDocumentFromURL(
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index d27e991..c5f11d0 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -2952,7 +2952,7 @@ sal_Bool SwUnoCursorHelper::ConvertSortProperties(
 
 void SAL_CALL
 SwXTextCursor::sort(const uno::Sequence< beans::PropertyValue >& rDescriptor)
-throw (uno::RuntimeException)
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
 
commit cd5c6473a28e51475c569c85f8ab4c0c0aa575a4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:57:19 2014 +0000

    coverity#738131 Uncaught exception
    
    Change-Id: I0ce20ba9d69af6e4c95f2ce749754e14646e498e

diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx
index 3de1251..fdd5743 100644
--- a/sw/inc/unodraw.hxx
+++ b/sw/inc/unodraw.hxx
@@ -102,7 +102,9 @@ public:
     virtual void SAL_CALL remove(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xShape) throw( ::com::sun::star::uno::RuntimeException );
 
     //XShapeGrouper
-    virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapeGroup >  SAL_CALL group(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > & xShapes) throw( ::com::sun::star::uno::RuntimeException );
+    virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapeGroup >  SAL_CALL group(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > & xShapes)
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual void SAL_CALL ungroup(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapeGroup > & aGroup) throw( ::com::sun::star::uno::RuntimeException );
 
     //XServiceInfo
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index d3f53e6..e3e88aa 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -746,7 +746,8 @@ void SwXDrawPage::remove(const uno::Reference< drawing::XShape > & xShape) throw
     xComp->dispose();
 }
 
-uno::Reference< drawing::XShapeGroup >  SwXDrawPage::group(const uno::Reference< drawing::XShapes > & xShapes) throw( uno::RuntimeException )
+uno::Reference< drawing::XShapeGroup >  SwXDrawPage::group(const uno::Reference< drawing::XShapes > & xShapes)
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if(!pDoc || !xShapes.is())
commit 2f989d2a828c3e6edc865d644e9ee38a941a3ee1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:50:25 2014 +0000

    coverity#738125 Uncaught exception
    
    Change-Id: I24e0ba15e8b01add792500ef3863515d591f4d95

diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index 2e3e9f2..0877fe4 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -308,7 +308,9 @@ public:
     virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
 
     // XDataSequence
-    virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getData(  ) throw (::com::sun::star::uno::RuntimeException);
+    virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getData()
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual OUString SAL_CALL getSourceRangeRepresentation()
         throw (::com::sun::star::uno::RuntimeException,
                std::exception);
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index c32fdba..5f7f7ac 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -2032,8 +2032,8 @@ sal_Int64 SAL_CALL SwChartDataSequence::getSomething( const uno::Sequence< sal_I
     return 0;
 }
 
-uno::Sequence< uno::Any > SAL_CALL SwChartDataSequence::getData(  )
-    throw (uno::RuntimeException)
+uno::Sequence< uno::Any > SAL_CALL SwChartDataSequence::getData()
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if (bDisposed)
commit f917ada4d7cd7b8e69036dbf10c06b83473dc6c7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:49:15 2014 +0000

    coverity#738124 Uncaught exception
    
    Change-Id: Ie98b9e22e6d6c75b5f8e13a1df793c99fa6a34df

diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index 400b201..2e3e9f2 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -309,7 +309,9 @@ public:
 
     // XDataSequence
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getData(  ) throw (::com::sun::star::uno::RuntimeException);
-    virtual OUString SAL_CALL getSourceRangeRepresentation(  ) throw (::com::sun::star::uno::RuntimeException);
+    virtual OUString SAL_CALL getSourceRangeRepresentation()
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL generateLabel( ::com::sun::star::chart2::data::LabelOrigin eLabelOrigin )
         throw (::com::sun::star::uno::RuntimeException,
                std::exception);
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 23ff69b..c32fdba 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -2062,7 +2062,7 @@ uno::Sequence< uno::Any > SAL_CALL SwChartDataSequence::getData(  )
 }
 
 OUString SAL_CALL SwChartDataSequence::getSourceRangeRepresentation(  )
-    throw (uno::RuntimeException)
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if (bDisposed)
commit 1edbac5f1252cc913167b34ee8daf047ae97e965
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:48:32 2014 +0000

    coverity#738123 Uncaught exception
    
    Change-Id: I2faa8d2ae1a1843ce804f31d53b294a44ebfa755

diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index 368e0aa..400b201 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -321,7 +321,9 @@ public:
                std::exception);
 
     // XNumericalDataSequence
-    virtual ::com::sun::star::uno::Sequence< double > SAL_CALL getNumericalData(  ) throw (::com::sun::star::uno::RuntimeException);
+    virtual ::com::sun::star::uno::Sequence< double > SAL_CALL getNumericalData()
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     // XCloneable
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL createClone(  ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 41da34d..23ff69b 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -2223,8 +2223,8 @@ uno::Sequence< OUString > SAL_CALL SwChartDataSequence::getTextualData()
     return aRes;
 }
 
-uno::Sequence< double > SAL_CALL SwChartDataSequence::getNumericalData(  )
-    throw (uno::RuntimeException)
+uno::Sequence< double > SAL_CALL SwChartDataSequence::getNumericalData()
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if (bDisposed)
commit a87f6040949023819827ff81eed1bd91430d49d6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:47:46 2014 +0000

    coverity#738122 Uncaught exception
    
    Change-Id: Id8c3fb01c3c1c7cfbe774e05ce00f0d1904f2da1

diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index a6d0301..368e0aa 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -316,7 +316,9 @@ public:
     virtual ::sal_Int32 SAL_CALL getNumberFormatKeyByIndex( ::sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
 
     // XTextualDataSequence
-    virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getTextualData(  ) throw (::com::sun::star::uno::RuntimeException);
+    virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getTextualData()
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     // XNumericalDataSequence
     virtual ::com::sun::star::uno::Sequence< double > SAL_CALL getNumericalData(  ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 395d8ce..41da34d 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -2194,8 +2194,8 @@ uno::Sequence< OUString > SAL_CALL SwChartDataSequence::generateLabel(
     return 0;
 }
 
-uno::Sequence< OUString > SAL_CALL SwChartDataSequence::getTextualData(  )
-    throw (uno::RuntimeException)
+uno::Sequence< OUString > SAL_CALL SwChartDataSequence::getTextualData()
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if (bDisposed)
commit f9e5d93229f48a11350ba74ac3058cdf59c0364d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:39:57 2014 +0000

    coverity#738121 Uncaught exception
    
    Change-Id: I4c140fc4b5da03ca3dedbb123ac7130cc91b9e90

diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index 9ee0f78..a6d0301 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -310,7 +310,9 @@ public:
     // XDataSequence
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getData(  ) throw (::com::sun::star::uno::RuntimeException);
     virtual OUString SAL_CALL getSourceRangeRepresentation(  ) throw (::com::sun::star::uno::RuntimeException);
-    virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL generateLabel( ::com::sun::star::chart2::data::LabelOrigin eLabelOrigin ) throw (::com::sun::star::uno::RuntimeException);
+    virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL generateLabel( ::com::sun::star::chart2::data::LabelOrigin eLabelOrigin )
+        throw (::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual ::sal_Int32 SAL_CALL getNumberFormatKeyByIndex( ::sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
 
     // XTextualDataSequence
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 1809f3f..395d8ce 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -2083,7 +2083,7 @@ OUString SAL_CALL SwChartDataSequence::getSourceRangeRepresentation(  )
 
 uno::Sequence< OUString > SAL_CALL SwChartDataSequence::generateLabel(
         chart2::data::LabelOrigin eLabelOrigin )
-    throw (uno::RuntimeException)
+    throw (uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
     if (bDisposed)
commit 9c83424521c2f5eeec5c3d9b4e2507ab1175b830
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:37:14 2014 +0000

    coverity#738120 Uncaught exception
    
    Change-Id: I22973934173a8dddf02712f64d6381ce3c04ae28

diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index 815af0c..9ee0f78 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -161,7 +161,10 @@ class SwChartDataProvider :
         throw (::com::sun::star::lang::IllegalArgumentException,
                ::com::sun::star::uno::RuntimeException,
                std::exception);
-    ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence > SAL_CALL Impl_createDataSequenceByRangeRepresentation( const OUString& aRangeRepresentation, sal_Bool bTestOnly = sal_False  ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
+    ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence > SAL_CALL Impl_createDataSequenceByRangeRepresentation( const OUString& aRangeRepresentation, sal_Bool bTestOnly = sal_False )
+        throw (::com::sun::star::lang::IllegalArgumentException,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
 
     OUString GetBrokenCellRangeForExport( const OUString &rCellRangeRepresentation );
 
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 4a916e3..1809f3f 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -1388,7 +1388,8 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwChartDataProvider::detectArgume
 
 uno::Reference< chart2::data::XDataSequence > SwChartDataProvider::Impl_createDataSequenceByRangeRepresentation(
         const OUString& rRangeRepresentation, sal_Bool bTestOnly )
-    throw (lang::IllegalArgumentException, uno::RuntimeException)
+    throw (lang::IllegalArgumentException, uno::RuntimeException,
+           std::exception)
 {
     if (bDisposed)
         throw lang::DisposedException();
commit 57fef256dc4ed88785c95e87374e115af7f9e8dc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:34:13 2014 +0000

    coverity#738118 Uncaught exception
    
    Change-Id: I7e3cf5479a2ca214586ca1b9beacc1415e0b9920

diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index a5ffd14..815af0c 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -157,7 +157,10 @@ class SwChartDataProvider :
     SwChartDataProvider( const SwChartDataProvider & );
     SwChartDataProvider & operator = ( const SwChartDataProvider & );
 
-    ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSource > SAL_CALL Impl_createDataSource( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArguments, sal_Bool bTestOnly = sal_False ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
+    ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSource > SAL_CALL Impl_createDataSource( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArguments, sal_Bool bTestOnly = sal_False )
+        throw (::com::sun::star::lang::IllegalArgumentException,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
     ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence > SAL_CALL Impl_createDataSequenceByRangeRepresentation( const OUString& aRangeRepresentation, sal_Bool bTestOnly = sal_False  ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
 
     OUString GetBrokenCellRangeForExport( const OUString &rCellRangeRepresentation );
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 1ea6661..4a916e3 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -554,7 +554,8 @@ SwChartDataProvider::~SwChartDataProvider()
 
 uno::Reference< chart2::data::XDataSource > SwChartDataProvider::Impl_createDataSource(
         const uno::Sequence< beans::PropertyValue >& rArguments, sal_Bool bTestOnly )
-    throw (lang::IllegalArgumentException, uno::RuntimeException)
+    throw (lang::IllegalArgumentException, uno::RuntimeException,
+           std::exception)
 {
     SolarMutexGuard aGuard;
     if (bDisposed)
commit a287d05f84711a99cb7b98df66ff4a1e38bba09b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 25 12:30:42 2014 +0000

    coverity#738116 Uncaught exception
    
    Change-Id: Ie1f6d96bd0dab15a030314be90b16ad68280f05b

diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index 753035d..a5ffd14 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -179,7 +179,10 @@ public:
     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XRangeSelection > SAL_CALL getRangeSelection(  ) throw (::com::sun::star::uno::RuntimeException);
 
     // XRangeXMLConversion
-    virtual OUString SAL_CALL convertRangeToXML( const OUString& aRangeRepresentation ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
+    virtual OUString SAL_CALL convertRangeToXML( const OUString& aRangeRepresentation )
+        throw (::com::sun::star::lang::IllegalArgumentException,
+               ::com::sun::star::uno::RuntimeException,
+               std::exception);
     virtual OUString SAL_CALL convertRangeFromXML( const OUString& aXMLRange ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
 
     // XComponent
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index fc4df47..1ea6661 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -1749,7 +1749,8 @@ void SwChartDataProvider::AddRowCols(
 
 // XRangeXMLConversion ---------------------------------------------------
 OUString SAL_CALL SwChartDataProvider::convertRangeToXML( const OUString& rRangeRepresentation )
-    throw ( uno::RuntimeException, lang::IllegalArgumentException )
+    throw (uno::RuntimeException, lang::IllegalArgumentException,
+           std::exception)
 {
     SolarMutexGuard aGuard;
     if (bDisposed)


More information about the Libreoffice-commits mailing list