Kaydet (Commit) 60f62988 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1130467 Uncaught exception

Change-Id: Idc4020921086bd2e5d51acf73294150eb158fd06
üst 2b12a5b8
...@@ -87,7 +87,9 @@ public: ...@@ -87,7 +87,9 @@ public:
/// XSheetAnnotation /// XSheetAnnotation
virtual ::com::sun::star::table::CellAddress SAL_CALL getPosition() virtual ::com::sun::star::table::CellAddress SAL_CALL getPosition()
throw(::com::sun::star::uno::RuntimeException); throw(::com::sun::star::uno::RuntimeException);
virtual OUString SAL_CALL getAuthor() throw(::com::sun::star::uno::RuntimeException); virtual OUString SAL_CALL getAuthor()
throw(::com::sun::star::uno::RuntimeException,
std::exception);
virtual OUString SAL_CALL getDate() throw(::com::sun::star::uno::RuntimeException); virtual OUString SAL_CALL getDate() throw(::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL getIsVisible() virtual sal_Bool SAL_CALL getIsVisible()
throw(::com::sun::star::uno::RuntimeException, throw(::com::sun::star::uno::RuntimeException,
......
...@@ -196,7 +196,8 @@ table::CellAddress SAL_CALL ScAnnotationObj::getPosition() throw(uno::RuntimeExc ...@@ -196,7 +196,8 @@ table::CellAddress SAL_CALL ScAnnotationObj::getPosition() throw(uno::RuntimeExc
return aAdr; return aAdr;
} }
OUString SAL_CALL ScAnnotationObj::getAuthor() throw(uno::RuntimeException) OUString SAL_CALL ScAnnotationObj::getAuthor()
throw(uno::RuntimeException, std::exception)
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
const ScPostIt* pNote = ImplGetNote(); const ScPostIt* pNote = ImplGetNote();
......
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