diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-29 16:21:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 15:18:00 +0200 |
commit | 2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 (patch) | |
tree | e0a23d3da6fb17ae97d18957fc14f4a4a8de2d3f /oox/source/ole/axcontrol.cxx | |
parent | a3088b1e72ef17babe3d3664c610afd02cfe0891 (diff) |
add << operator for css::uno::Exception
Change-Id: Ia23dafd07133779144965682df3b7125a3214235
Reviewed-on: https://gerrit.libreoffice.org/43046
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
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(); |