Kaydet (Commit) 76e14408 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#737805 Uncaught exception

Change-Id: I61ca610f7183d7e72a5b36fb0bf1fe0fcd1210fe
üst 47f4eead
......@@ -70,7 +70,8 @@ public:
virtual void SAL_CALL setCurrentPage (
const css::uno::Reference<css::drawing::XDrawPage >& xPage)
throw(css::uno::RuntimeException);
throw (css::uno::RuntimeException,
std::exception);
virtual css::uno::Reference<css::drawing::XDrawPage> SAL_CALL getCurrentPage (void)
throw(css::uno::RuntimeException);
......
......@@ -469,7 +469,7 @@ Any SAL_CALL SdUnoDrawView::getFastPropertyValue (
void SAL_CALL SdUnoDrawView::setCurrentPage (
const Reference< drawing::XDrawPage >& xPage )
throw(RuntimeException)
throw (RuntimeException, std::exception)
{
SvxDrawPage* pDrawPage = SvxDrawPage::getImplementation( xPage );
SdrPage *pSdrPage = pDrawPage ? pDrawPage->GetSdrPage() : NULL;
......
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