diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:31:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:26 +0000 |
commit | 76e14408abb2a982215f311002899efbf73ab78b (patch) | |
tree | e6a99df45390ab318e8f71e17d79d1319a4cafcb /sd | |
parent | coverity#737802 Uncaught exception (diff) | |
download | core-76e14408abb2a982215f311002899efbf73ab78b.tar.gz core-76e14408abb2a982215f311002899efbf73ab78b.zip |
coverity#737805 Uncaught exception
Change-Id: I61ca610f7183d7e72a5b36fb0bf1fe0fcd1210fe
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/SdUnoDrawView.hxx | 3 | ||||
-rw-r--r-- | sd/source/ui/unoidl/SdUnoDrawView.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx index 1934302c18c2..ce22ce5218cb 100644 --- a/sd/source/ui/inc/SdUnoDrawView.hxx +++ b/sd/source/ui/inc/SdUnoDrawView.hxx @@ -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); diff --git a/sd/source/ui/unoidl/SdUnoDrawView.cxx b/sd/source/ui/unoidl/SdUnoDrawView.cxx index 9c9bbccebc7d..adb451404c65 100644 --- a/sd/source/ui/unoidl/SdUnoDrawView.cxx +++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx @@ -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; |