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 /cui/source/dialogs | |
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 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/linkdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/scriptdlg.cxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx index 062585193e89..59b9191b2a58 100644 --- a/cui/source/dialogs/linkdlg.cxx +++ b/cui/source/dialogs/linkdlg.cxx @@ -400,7 +400,7 @@ IMPL_LINK_NOARG( SvBaseLinksDlg, ChangeSourceClickHdl, Button *, void ) } catch (uno::Exception & e) { - SAL_WARN("cui.dialogs", "SvBaseLinksDlg: caught UNO exception: " << e.Message); + SAL_WARN("cui.dialogs", "SvBaseLinksDlg: " << e); } } else diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index 35a40f3be0bd..3d24e337251e 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -182,7 +182,7 @@ void SFTreeListBox::Init( const OUString& language ) } catch( Exception& e ) { - SAL_WARN("cui.dialogs", "Exception getting root browse node from factory: " << e.Message ); + SAL_WARN("cui.dialogs", "Exception getting root browse node from factory: " << e ); // TODO exception handling } @@ -755,7 +755,7 @@ IMPL_LINK( SvxScriptOrgDialog, ButtonHdl, Button *, pButton, void ) } catch( Exception& e ) { - SAL_WARN("cui.dialogs", "Caught exception trying to invoke " << e.Message ); + SAL_WARN("cui.dialogs", "Caught exception trying to invoke " << e ); } } } @@ -932,7 +932,7 @@ void SvxScriptOrgDialog::createEntry( SvTreeListEntry* pEntry ) } catch( Exception& e ) { - SAL_WARN("cui.dialogs", "Caught exception trying to Create " << e.Message ); + SAL_WARN("cui.dialogs", "Caught exception trying to Create " << e ); } } if ( aChildNode.is() ) @@ -1021,7 +1021,7 @@ void SvxScriptOrgDialog::renameEntry( SvTreeListEntry* pEntry ) } catch( Exception& e ) { - SAL_WARN("cui.dialogs", "Caught exception trying to Rename " << e.Message ); + SAL_WARN("cui.dialogs", "Caught exception trying to Rename " << e ); } } if ( aChildNode.is() ) @@ -1067,7 +1067,7 @@ void SvxScriptOrgDialog::deleteEntry( SvTreeListEntry* pEntry ) } catch( Exception& e ) { - SAL_WARN("cui.dialogs", "Caught exception trying to delete " << e.Message ); + SAL_WARN("cui.dialogs", "Caught exception trying to delete " << e ); } } |