diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-25 11:29:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-25 11:46:56 +0100 |
commit | 219eb78e3a04d859fa107c5b0c5ff40f4524c4d2 (patch) | |
tree | 14e0b0b7d71255966b19277893be72586e4bf964 /package/source | |
parent | 96bc7ea1d30284ec7b3d0284d4478420b93c04b2 (diff) |
coverity#706572 Uncaught exception
Change-Id: I579d13981aed4b55501a85326ef2ff735937face
Diffstat (limited to 'package/source')
-rw-r--r-- | package/source/xstor/xstorage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index cfa6c770a252..f7a8b6e47967 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -4763,7 +4763,7 @@ void SAL_CALL OStorage::setPropertyValue( const OUString& aPropertyName, const u // The old document might have no version in the manifest.xml, so we have to allow to set the version // even for readonly storages, so that the version from content.xml can be used. if ( m_pData->m_bReadOnlyWrap && aPropertyName != "Version" ) - throw io::IOException( THROW_WHERE ); // TODO: Access denied + throw uno::RuntimeException( THROW_WHERE ); // TODO: Access denied if ( m_pData->m_nStorageType == embed::StorageFormats::ZIP ) throw beans::UnknownPropertyException( THROW_WHERE ); |