From a7cc77e37809b9ac61317b5f5ba0e17b5ef14b56 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 10 Jun 2014 15:00:01 +0100 Subject: coverity#1213458 Uncaught exception Change-Id: I7bfcda3ec7bfe1bdf46ce11e799972a96d9fc3dc --- sd/source/ui/inc/unosrch.hxx | 2 +- sd/source/ui/unoidl/unosrch.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source') 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()); -- cgit