diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-11-19 13:34:57 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-11-19 13:34:57 +0000 |
commit | 5621086ab765e9f4de507bf555c6a641ff608a57 (patch) | |
tree | c93e18bd00d5eba736c242d8e3e20b09280583ec | |
parent | f18fdce950eadae19b05106bec7ff7ae49beb58b (diff) |
CWS-TOOLING: integrate CWS fwk94_DEV300
-rw-r--r-- | dbaccess/source/filter/xml/dbloader2.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx index eb461bad11e1..099aaf61c0ba 100644 --- a/dbaccess/source/filter/xml/dbloader2.cxx +++ b/dbaccess/source/filter/xml/dbloader2.cxx @@ -178,10 +178,15 @@ DBTypeDetection::DBTypeDetection(const Reference< XMultiServiceFactory >& _rxFac // for now the file should be reopened to have read/write access aMedia.remove( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "InputStream" ) ) ); aMedia >>= Descriptor; - try { + try + { if ( xInStream.is() ) xInStream->closeInput(); - } catch( Exception& ) {} + } + catch( Exception& ) + { + DBG_UNHANDLED_EXCEPTION(); + } } return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StarBase")); |