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 /toolkit | |
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 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 8 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 5465cd7d89b0..62fc854b0821 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -1391,7 +1391,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::createSystemChild( con catch ( const css::uno::RuntimeException & rEx ) { // system child window could not be created - SAL_WARN("toolkit", "caught " << rEx.Message); + SAL_WARN("toolkit", "caught " << rEx); pChildWindow.clear(); } } @@ -1786,7 +1786,7 @@ void VCLXToolkit::callTopWindowListeners( } catch (const css::uno::RuntimeException & rEx) { - SAL_WARN("toolkit", "caught " << rEx.Message); + SAL_WARN("toolkit", "caught " << rEx); } } } @@ -1831,7 +1831,7 @@ bool VCLXToolkit::callKeyHandlers(::VclSimpleEvent const * pEvent, } catch (const css::uno::RuntimeException & rEx) { - SAL_WARN("toolkit", "caught " << rEx.Message); + SAL_WARN("toolkit", "caught " << rEx); } } } @@ -1877,7 +1877,7 @@ void VCLXToolkit::callFocusListeners(::VclSimpleEvent const * pEvent, } catch (const css::uno::RuntimeException & rEx) { - SAL_WARN("toolkit", "caught " << rEx.Message); + SAL_WARN("toolkit", "caught " << rEx); } } } diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index b7f5466ab9ef..80d4def816fd 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -2930,7 +2930,7 @@ void UnoListBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) } catch( const Exception& e ) { - SAL_WARN( "toolkit", "UnoListBoxControl::itemStateChanged: caught an exception: " << e.Message); + SAL_WARN( "toolkit", "UnoListBoxControl::itemStateChanged: caught " << e); } } } @@ -3266,7 +3266,7 @@ void UnoComboBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) } catch( const Exception& e ) { - SAL_WARN( "toolkit", "UnoComboBoxControl::itemStateChanged: caught an exception: " << e.Message); + SAL_WARN( "toolkit", "UnoComboBoxControl::itemStateChanged: caught " << e); } } } |