From 946c7b03f48b2eb873a3c4958b2ae47ea424c89a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 24 Apr 2014 09:11:31 +0100 Subject: [PATCH] coverity#707484 Uncaught exception Change-Id: I1881add525365feaf25ce61b2be027f6ea1bcce7 --- xmlsecurity/source/helper/documentsignaturehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlsecurity/source/helper/documentsignaturehelper.cxx b/xmlsecurity/source/helper/documentsignaturehelper.cxx index 2ec4f030be80..41d0babf1a2f 100644 --- a/xmlsecurity/source/helper/documentsignaturehelper.cxx +++ b/xmlsecurity/source/helper/documentsignaturehelper.cxx @@ -102,7 +102,7 @@ void ImplFillElementList( pNames[n], rtl_UriCharClassRelSegment, rtl_UriEncodeStrict, RTL_TEXTENCODING_UTF8); if (sEncName.isEmpty() && !pNames[n].isEmpty()) - throw css::uno::Exception("Failed to encode element name of XStorage", 0); + throw css::uno::RuntimeException("Failed to encode element name of XStorage", 0); if ( rxStore->isStreamElement( pNames[n] ) ) {