diff options
Diffstat (limited to 'filter/source/flash/swfexporter.cxx')
-rw-r--r-- | filter/source/flash/swfexporter.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx index 80b7d698c763..18c6d8f821ee 100644 --- a/filter/source/flash/swfexporter.cxx +++ b/filter/source/flash/swfexporter.cxx @@ -161,7 +161,7 @@ sal_Bool FlashExporter::exportAll( Reference< XComponent > xDoc, Reference< XOut delete mpWriter; mpWriter = new Writer( nOutputWidth, nOutputHeight, mnDocWidth, mnDocHeight, mnJPEGcompressMode ); } - catch( Exception& ) + catch( const Exception& ) { OSL_ASSERT( false ); return false; // no writer, no cookies @@ -265,7 +265,7 @@ sal_Bool FlashExporter::exportSlides( Reference< XDrawPage > xDrawPage, Referenc return sal_False; } } - catch( Exception& ) + catch( const Exception& ) { OSL_ASSERT( false ); } @@ -370,7 +370,7 @@ sal_Bool FlashExporter::exportSound( Reference< XOutputStream > &xOutputStream, delete mpWriter; mpWriter = new Writer( 0, 0, 0, 0 ); } - catch( Exception& ) + catch( const Exception& ) { OSL_ASSERT( false ); } @@ -564,7 +564,7 @@ void FlashExporter::exportShape( Reference< XShape >& xShape, bool bMaster ) return; } } - catch( Exception& ) + catch( const Exception& ) { // TODO: If we are exporting a draw, this property is not available } @@ -642,7 +642,7 @@ void FlashExporter::exportShape( Reference< XShape >& xShape, bool bMaster ) delete pShapeInfo; } - catch( Exception& ) + catch( const Exception& ) { OSL_ASSERT(false); } |