diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-02-19 11:49:08 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-02-19 11:49:08 +0000 |
commit | 34700da79120422be2f23239ddbdfd2a40ee70fe (patch) | |
tree | 1ce2f5116c307c278091c2c043180e09af188adf /unotools/source/ucbhelper/ucbstreamhelper.cxx | |
parent | 7bdc96631fbd37f6b35333a810bc205703c1a46e (diff) |
#84034# CreateStream: don't assert when catching a ContentCreationException
Diffstat (limited to 'unotools/source/ucbhelper/ucbstreamhelper.cxx')
-rw-r--r-- | unotools/source/ucbhelper/ucbstreamhelper.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/unotools/source/ucbhelper/ucbstreamhelper.cxx b/unotools/source/ucbhelper/ucbstreamhelper.cxx index 0853c2749b53..bca66bea866b 100644 --- a/unotools/source/ucbhelper/ucbstreamhelper.cxx +++ b/unotools/source/ucbhelper/ucbstreamhelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ucbstreamhelper.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: mba $ $Date: 2001-01-18 10:03:43 $ + * last change: $Author: fs $ $Date: 2001-02-19 12:49:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -132,10 +132,13 @@ SvStream* UcbStreamHelper::CreateStream( const String& rFileName, StreamMode eOp pStream->SetError( xLockBytes->GetError() ); } } - catch ( CommandAbortedException e ) + catch ( CommandAbortedException& e ) { } - catch ( Exception e ) + catch ( ContentCreationException& e ) + { + } + catch ( Exception& e ) { DBG_ERROR( "Any other exception!" ); } |