summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 15:42:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 16:12:22 +0000
commit4cc356bfa83810297926a8b2fadd59220204bd45 (patch)
tree901d6c7f540e40e1aed0a19e775141e9c6ec39a4 /sw
parent334e99c08214563bb208448d1045f95e664d4c3e (diff)
coverity#738451 Uncaught exception
Change-Id: I43473afc753a7d348273e58121f2446974d43957
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/inc/unotxvw.hxx4
-rw-r--r--sw/source/ui/uno/unotxvw.cxx3
2 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx
index 7205792c2e46..ca616598cfdc 100644
--- a/sw/source/ui/inc/unotxvw.hxx
+++ b/sw/source/ui/inc/unotxvw.hxx
@@ -244,7 +244,9 @@ public:
virtual OUString SAL_CALL getString()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
- virtual void SAL_CALL setString(const OUString& aString) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setString(const OUString& aString)
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
//XScreenCursor
virtual sal_Bool SAL_CALL screenDown()
diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx
index 0f665d12480a..41725f8cbe8e 100644
--- a/sw/source/ui/uno/unotxvw.cxx
+++ b/sw/source/ui/uno/unotxvw.cxx
@@ -1461,7 +1461,8 @@ OUString SwXTextViewCursor::getString()
return uRet;
}
-void SwXTextViewCursor::setString(const OUString& aString) throw( uno::RuntimeException )
+void SwXTextViewCursor::setString(const OUString& aString)
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)