diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-27 16:32:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-27 21:08:35 +0100 |
commit | 92814c6fe446380ce57d18a77f22571c916fbb9d (patch) | |
tree | 32790b1148987a20c0d946835cc1b24eee6035b0 /sd | |
parent | 116f362ef23e3b4bc2e31b720c0a49637c5257b5 (diff) |
coverity#1209953 Uncaught exception
Change-Id: Ia167c532afc8ba900629b3f056021deed45185ea
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/unomodel.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx index bcb6e054cb38..cc6308d1ab4a 100644 --- a/sd/source/ui/inc/unomodel.hxx +++ b/sd/source/ui/inc/unomodel.hxx @@ -90,7 +90,7 @@ private: css::uno::Reference<css::uno::XInterface> create( OUString const & aServiceSpecifier, OUString const & referer); - SdPage* InsertSdPage( sal_uInt16 nPage, bool bDuplicate = false ) throw(); + SdPage* InsertSdPage( sal_uInt16 nPage, bool bDuplicate = false ) throw (css::uno::RuntimeException); const bool mbImpressDoc; bool mbClipBoard; diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index e8d243ffe746..a21f6012a7ff 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -439,7 +439,8 @@ void SdXImpressDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) /****************************************************************************** * * ******************************************************************************/ -SdPage* SdXImpressDocument::InsertSdPage( sal_uInt16 nPage, bool bDuplicate ) throw() +SdPage* SdXImpressDocument::InsertSdPage( sal_uInt16 nPage, bool bDuplicate ) + throw (css::uno::RuntimeException) { sal_uInt16 nPageCount = mpDoc->GetSdPageCount( PK_STANDARD ); SdrLayerAdmin& rLayerAdmin = mpDoc->GetLayerAdmin(); |