diff options
Diffstat (limited to 'oox/source/ole/vbacontrol.cxx')
-rw-r--r-- | oox/source/ole/vbacontrol.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/ole/vbacontrol.cxx b/oox/source/ole/vbacontrol.cxx index fc750ca53821..048d4f8c737f 100644 --- a/oox/source/ole/vbacontrol.cxx +++ b/oox/source/ole/vbacontrol.cxx @@ -395,7 +395,7 @@ void VbaFormControl::createAndConvert( sal_Int32 nCtrlIndex, ContainerHelper::insertByName( rxParentNC, rCtrlName, Any( xCtrlModel ) ); } } - catch( Exception& ) + catch(const Exception& ) { } } @@ -478,7 +478,7 @@ bool VbaFormControl::convertProperties( const Reference< XControlModel >& rxCtrl maControls.forEachMemWithIndex( &VbaFormControl::createAndConvert, ::boost::cref( xCtrlModelNC ), ::boost::cref( rConv ) ); } - catch( Exception& ) + catch(const Exception& ) { OSL_FAIL( "VbaFormControl::convertProperties - cannot get control container interface" ); } @@ -881,7 +881,7 @@ void VbaUserForm::importForm( ContainerHelper::insertByName( rxDialogLib, aFormName, Any( xDialogSource ) ); } } - catch( Exception& ) + catch(const Exception& ) { } } |