summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-24 09:11:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-24 10:37:11 +0100
commit946c7b03f48b2eb873a3c4958b2ae47ea424c89a (patch)
tree1b90d7b58a304f4a89419db17f7442facfa07d2f /xmlsecurity
parenta089a4e27a2b0e739ec86f8d3bf83a395ac0eaed (diff)
coverity#707484 Uncaught exception
Change-Id: I1881add525365feaf25ce61b2be027f6ea1bcce7
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/helper/documentsignaturehelper.cxx2
1 files changed, 1 insertions, 1 deletions
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] ) )
{