summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-03 20:24:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-04 09:38:13 +0100
commit312ffe07bbef6b8dbc14ce38c0a726f69dd90946 (patch)
treefa0ff38c3a9a93fd51b5c87ac5df179e75eb5e33 /svx
parent604d5be3b6a1750cde01de9a01734c10fef30a0c (diff)
coverity#738062 Uncaught exception
Change-Id: Id123422e23f93b1c0062cac190fcf93a253cb629
Diffstat (limited to 'svx')
-rw-r--r--svx/source/inc/xmlxtexp.hxx3
-rw-r--r--svx/source/xml/xmlxtexp.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/inc/xmlxtexp.hxx b/svx/source/inc/xmlxtexp.hxx
index 7a99cb2fb2ac..82fdb20e1f23 100644
--- a/svx/source/inc/xmlxtexp.hxx
+++ b/svx/source/inc/xmlxtexp.hxx
@@ -49,7 +49,8 @@ public:
::com::sun::star::container::XNameContainer >& xTable,
const ::com::sun::star::uno::Reference <
::com::sun::star::embed::XStorage > &xStorage,
- OUString *pOptName ) throw();
+ OUString *pOptName )
+ throw (css::uno::RuntimeException);
// methods without content:
virtual void _ExportAutoStyles() SAL_OVERRIDE;
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index 48743e919512..85bf42aea284 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -209,7 +209,8 @@ bool SvxXMLXTableExportComponent::save(
const OUString& rURL,
const uno::Reference<container::XNameContainer >& xTable,
const uno::Reference<embed::XStorage >& xStorage,
- OUString *pOptName ) throw()
+ OUString *pOptName )
+ throw (css::uno::RuntimeException)
{
bool bRet = false;
SfxMedium* pMedium = NULL;