diff options
Diffstat (limited to 'xmlsecurity/source/helper/xmlsignaturehelper2.cxx')
-rw-r--r-- | xmlsecurity/source/helper/xmlsignaturehelper2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/helper/xmlsignaturehelper2.cxx b/xmlsecurity/source/helper/xmlsignaturehelper2.cxx index eb0a49a119ee..40407d586a06 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper2.cxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper2.cxx @@ -192,7 +192,7 @@ uno::Reference < io::XInputStream > UriBindingHelper::OpenInputStream( const uno const OUString sName = ::rtl::Uri::decode( rURI, rtl_UriDecodeStrict, rtl_UriCharClassRelSegment); if (sName.isEmpty() && !rURI.isEmpty()) - throw uno::Exception("Could not decode URI for stream element.", 0); + throw uno::Exception("Could not decode URI for stream element.", nullptr); uno::Reference< io::XStream > xStream; xStream = rxStore->cloneStreamElement( sName ); @@ -205,7 +205,7 @@ uno::Reference < io::XInputStream > UriBindingHelper::OpenInputStream( const uno const OUString aStoreName = ::rtl::Uri::decode( rURI.copy( 0, nSepPos ), rtl_UriDecodeStrict, rtl_UriCharClassRelSegment); if (aStoreName.isEmpty() && !rURI.isEmpty()) - throw uno::Exception("Could not decode URI for stream element.", 0); + throw uno::Exception("Could not decode URI for stream element.", nullptr); OUString aElement = rURI.copy( nSepPos+1 ); uno::Reference < embed::XStorage > xSubStore = rxStore->openStorageElement( aStoreName, embed::ElementModes::READ ); |