summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-25 11:26:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-25 11:46:55 +0100
commit96bc7ea1d30284ec7b3d0284d4478420b93c04b2 (patch)
treefb454fd4764e4cde82e50be0806c91aeab6b292f
parentf1c75c6d49c4e263657670da1e5b44d9a382f7ac (diff)
coverity#706579 Uncaught exception
Change-Id: Ie4d2eed7442ab1e234ea20e8230f1fab32b8c896
-rw-r--r--offapi/com/sun/star/embed/XHierarchicalStorageAccess2.idl1
-rw-r--r--package/source/xstor/xstorage.cxx1
-rw-r--r--package/source/xstor/xstorage.hxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/offapi/com/sun/star/embed/XHierarchicalStorageAccess2.idl b/offapi/com/sun/star/embed/XHierarchicalStorageAccess2.idl
index 35413a73173a..93996a84b596 100644
--- a/offapi/com/sun/star/embed/XHierarchicalStorageAccess2.idl
+++ b/offapi/com/sun/star/embed/XHierarchicalStorageAccess2.idl
@@ -81,6 +81,7 @@ interface XHierarchicalStorageAccess2 : XHierarchicalStorageAccess
::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::packages::NoEncryptionException,
::com::sun::star::packages::WrongPasswordException,
+ ::com::sun::star::container::NoSuchElementException,
::com::sun::star::io::IOException,
::com::sun::star::embed::StorageWrappedTargetException );
};
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 8479eb811aaa..cfa6c770a252 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -6044,6 +6044,7 @@ uno::Reference< embed::XExtendedStorageStream > SAL_CALL OStorage::openEncrypted
lang::IllegalArgumentException,
packages::NoEncryptionException,
packages::WrongPasswordException,
+ container::NoSuchElementException,
io::IOException,
embed::StorageWrappedTargetException,
uno::RuntimeException, std::exception )
diff --git a/package/source/xstor/xstorage.hxx b/package/source/xstor/xstorage.hxx
index 413590e9503d..3d70f3dd9ce7 100644
--- a/package/source/xstor/xstorage.hxx
+++ b/package/source/xstor/xstorage.hxx
@@ -804,6 +804,7 @@ public:
::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::packages::NoEncryptionException,
::com::sun::star::packages::WrongPasswordException,
+ ::com::sun::star::container::NoSuchElementException,
::com::sun::star::io::IOException,
::com::sun::star::embed::StorageWrappedTargetException,
::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;