diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-03-15 10:42:32 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-03-15 10:42:32 +0000 |
commit | 5ebc557ce7f118dccf754ff6daf4bd7960b783d4 (patch) | |
tree | 2682d5c9ecc3080e35da9ef70b5227c65f85da83 /sc/source/filter/xml/xmlwrap.cxx | |
parent | 6237d0b02328a61871ded9ec0113d132a1792f24 (diff) |
INTEGRATION: CWS mav17 (1.54.64); FILE MERGED
2005/03/01 09:19:34 mav 1.54.64.1: #i23531# improve document repairing
Diffstat (limited to 'sc/source/filter/xml/xmlwrap.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlwrap.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx index b97243c6bfd2..99134fe2b092 100644 --- a/sc/source/filter/xml/xmlwrap.cxx +++ b/sc/source/filter/xml/xmlwrap.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlwrap.cxx,v $ * - * $Revision: 1.54 $ + * $Revision: 1.55 $ * - * last change: $Author: rt $ $Date: 2005-01-11 13:19:34 $ + * last change: $Author: obo $ $Date: 2005-03-15 11:42:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -273,6 +273,10 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe { return ERRCODE_SFX_WRONGPASSWORD; } + catch( packages::zip::ZipIOException& ) + { + return ERRCODE_IO_BROKENPACKAGE; + } catch( uno::Exception& ) { return SCERR_IMPORT_UNKNOWN; |