summaryrefslogtreecommitdiff
path: root/sc/inc/nameuno.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 10:16:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 10:45:23 +0000
commita760a41080599f4a6aaab8628e15098fdb0b2d28 (patch)
tree03d484cda60581bb2a0f57726d3e51f843507d71 /sc/inc/nameuno.hxx
parent3f94ccfe58b3c65d172767a7f9e7874a08b7a209 (diff)
coverity#737649 Uncaught exception
Change-Id: I6ab46cc817f2858ae1a92757d8c26d6145f934b8
Diffstat (limited to 'sc/inc/nameuno.hxx')
-rw-r--r--sc/inc/nameuno.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/nameuno.hxx b/sc/inc/nameuno.hxx
index 3f2ee9226f0f..4e82e6e16699 100644
--- a/sc/inc/nameuno.hxx
+++ b/sc/inc/nameuno.hxx
@@ -214,7 +214,8 @@ public:
/// XNamedRanges
virtual void SAL_CALL addNewByName( const OUString& aName, const OUString& aContent,
const ::com::sun::star::table::CellAddress& aPosition, sal_Int32 nType )
- throw(::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void SAL_CALL addNewFromTitles( const ::com::sun::star::table::CellRangeAddress& aSource,
::com::sun::star::sheet::Border aBorder )
throw(::com::sun::star::uno::RuntimeException);