Kaydet (Commit) 5364f4fd authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#38429 Uncaught exception

Change-Id: Ie4d5e38313156279f77ba17f91aba0bddb0c1478
üst 7412cb83
......@@ -222,7 +222,9 @@ public:
//XTextRange
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > SAL_CALL getText(void) throw( ::com::sun::star::uno::RuntimeException );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getStart(void) throw( ::com::sun::star::uno::RuntimeException );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getEnd(void) throw( ::com::sun::star::uno::RuntimeException );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getEnd()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual OUString SAL_CALL getString(void) throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL setString(const OUString& aString) throw( ::com::sun::star::uno::RuntimeException );
......
......@@ -1401,7 +1401,8 @@ uno::Reference< text::XTextRange > SwXTextViewCursor::getStart(void) throw( uno
return xRet;
}
uno::Reference< text::XTextRange > SwXTextViewCursor::getEnd(void) throw( uno::RuntimeException )
uno::Reference< text::XTextRange > SwXTextViewCursor::getEnd()
throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
uno::Reference< text::XTextRange > xRet;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment