diff options
Diffstat (limited to 'oox/source/ole/axcontrol.cxx')
-rw-r--r-- | oox/source/ole/axcontrol.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index efe55b582eeb..36cdfc2b10de 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -58,6 +58,7 @@ #include "oox/ole/axbinarywriter.hxx" #include <oox/token/properties.hxx> #include <oox/token/tokens.hxx> + namespace oox { namespace ole { @@ -174,7 +175,7 @@ bool lclExtractRangeFromName( CellRangeAddress& orRangeAddr, const Reference< XM } catch (const Exception& e) { - SAL_WARN("oox", "exception: " << e.Message); + SAL_WARN("oox", e); } return false; } @@ -207,7 +208,7 @@ void lclPrepareConverter( PropertySet& rConverter, const Reference< XModel >& rx } catch (const Exception& e) { - SAL_WARN("oox", "exception: " << e.Message); + SAL_WARN("oox", e); } rConverter.setProperty( PROP_XLA1Representation, rAddressString ); rConverter.setProperty( PROP_ReferenceSheet, nRefSheet ); @@ -351,7 +352,7 @@ void ControlConverter::bindToSources( const Reference< XControlModel >& rxCtrlMo } catch (const Exception& e) { - SAL_WARN("oox", "exception: " << e.Message); + SAL_WARN("oox", e); } // list entry source @@ -383,7 +384,7 @@ void ControlConverter::bindToSources( const Reference< XControlModel >& rxCtrlMo } catch (const Exception& e) { - SAL_WARN("oox", "exception: " << e.Message); + SAL_WARN("oox", e); } } @@ -2662,7 +2663,7 @@ bool EmbeddedControl::convertProperties( const Reference< XControlModel >& rxCtr } catch (const Exception& e) { - SAL_WARN("oox", "exception: " << e.Message); + SAL_WARN("oox", e); } mxModel->convertProperties( aPropMap, rConv ); PropertySet aPropSet( rxCtrlModel ); @@ -2711,7 +2712,7 @@ Reference< XControlModel > EmbeddedForm::convertAndInsert( const EmbeddedControl } catch (const Exception& e) { - SAL_WARN("oox", "exception creating Control: " << e.Message); + SAL_WARN("oox", "exception creating Control: " << e); } return xRet; } @@ -2737,7 +2738,7 @@ Reference< XIndexContainer > const & EmbeddedForm::createXForm() } catch (const Exception& e) { - SAL_WARN("oox", "exception creating Form: " << e.Message); + SAL_WARN("oox", "exception creating Form: " << e); } // always clear the forms supplier to not try to create the form again mxFormsSupp.clear(); |