diff options
author | Kai Ahrens <ka@openoffice.org> | 2000-12-09 14:24:55 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2000-12-09 14:24:55 +0000 |
commit | bae171d77d7a652db9fa6f52d0004fc6025a5a31 (patch) | |
tree | 4aa693740b818bdbb887dbb7db46345061b33e1f /svx/source/gallery2/galtheme.cxx | |
parent | c123baa4d234beeae596b52881919036f85ab717 (diff) |
#80901#: catch exceptions with parameters (Solaris compiler bug)
Diffstat (limited to 'svx/source/gallery2/galtheme.cxx')
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index a610c7ea8672..b5f255936e39 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -2,9 +2,9 @@ * * $RCSfile: galtheme.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: ka $ $Date: 2000-11-23 13:04:26 $ + * last change: $Author: ka $ $Date: 2000-12-09 15:24:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1221,9 +1221,13 @@ BOOL GalleryTheme::InsertDataXChgData( SvDataObjectRef& rxData, ULONG nInsertPos else bRet = InsertURL( aURL, nInsertPos ); } - catch( ... ) + catch( const ContentCreationException& ) { - DBG_ERROR( "GalleryTheme::InsertDataXChgData: ucb error" ); + DBG_ERROR( "ContentCreationException" ); + } + catch( const ::com::sun::star::uno::RuntimeException& ) + { + DBG_ERROR( "RuntimeException" ); } } } |