summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-10 15:00:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-10 16:08:04 +0100
commita7cc77e37809b9ac61317b5f5ba0e17b5ef14b56 (patch)
treec6e1df56dc88385969986860987f06958acdd70b /sd
parente3427b92835df104e591af1a11569204cc97587d (diff)
coverity#1213458 Uncaught exception
Change-Id: I7bfcda3ec7bfe1bdf46ce11e799972a96d9fc3dc
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/unosrch.hxx2
-rw-r--r--sd/source/ui/unoidl/unosrch.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/inc/unosrch.hxx b/sd/source/ui/inc/unosrch.hxx
index c0f86aa773f0..6e644681577e 100644
--- a/sd/source/ui/inc/unosrch.hxx
+++ b/sd/source/ui/inc/unosrch.hxx
@@ -90,7 +90,7 @@ protected:
OUString maReplaceStr;
public:
- SdUnoSearchReplaceDescriptor( bool bReplace ) throw();
+ SdUnoSearchReplaceDescriptor(bool bReplace) throw (css::uno::RuntimeException);
virtual ~SdUnoSearchReplaceDescriptor() throw();
bool IsBackwards() const throw() { return mbBackwards; }
diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx
index 2c9ddf152cc8..53ddeb2c019b 100644
--- a/sd/source/ui/unoidl/unosrch.cxx
+++ b/sd/source/ui/unoidl/unosrch.cxx
@@ -706,7 +706,7 @@ uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetShape( uno::Refer
UNO3_GETIMPLEMENTATION_IMPL( SdUnoSearchReplaceDescriptor );
-SdUnoSearchReplaceDescriptor::SdUnoSearchReplaceDescriptor( bool bReplace ) throw()
+SdUnoSearchReplaceDescriptor::SdUnoSearchReplaceDescriptor( bool bReplace ) throw (css::uno::RuntimeException)
{
mpPropSet = new SvxItemPropertySet(ImplGetSearchPropertyMap(), SdrObject::GetGlobalDrawObjectItemPool());