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 /stoc/test | |
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 'stoc/test')
-rw-r--r-- | stoc/test/javavm/testjavavm.cxx | 2 | ||||
-rw-r--r-- | stoc/test/testconv.cxx | 2 | ||||
-rw-r--r-- | stoc/test/testcorefl.cxx | 2 | ||||
-rw-r--r-- | stoc/test/testintrosp.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx index e7d0c4d5a4cc..d7602359c660 100644 --- a/stoc/test/javavm/testjavavm.cxx +++ b/stoc/test/javavm/testjavavm.cxx @@ -138,7 +138,7 @@ SAL_IMPLEMENT_MAIN() } catch (const Exception & rExc) { - SAL_WARN("stoc", "### exception occurred: " << rExc.Message ); + SAL_WARN("stoc", "### exception occurred: " << rExc ); } Reference< XComponent > xCompContext( context, UNO_QUERY ); diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx index 1e9aae16ed42..2ed6fd712505 100644 --- a/stoc/test/testconv.cxx +++ b/stoc/test/testconv.cxx @@ -671,7 +671,7 @@ SAL_IMPLEMENT_MAIN() } catch (const Exception & rExc) { - SAL_WARN("stoc", "### exception occurred: " << rExc.Message ); + SAL_WARN("stoc", "### exception occurred: " << rExc ); } Reference< XComponent >( xMgr, UNO_QUERY )->dispose(); diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx index 3b2a02cccd8a..98aa7d768cda 100644 --- a/stoc/test/testcorefl.cxx +++ b/stoc/test/testcorefl.cxx @@ -367,7 +367,7 @@ SAL_IMPLEMENT_MAIN() } catch (const Exception & rExc) { - SAL_WARN("stoc", "### exception occurred: " << rExc.Message ); + SAL_WARN("stoc", "### exception occurred: " << rExc ); } printf( "testcorefl %s !\n", (bSucc ? "succeeded" : "failed") ); diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index 3937f7e2bb60..c9c7aed33041 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -1190,7 +1190,7 @@ SAL_IMPLEMENT_MAIN() } catch (const Exception & rExc) { - SAL_WARN("stoc", "### exception occurred: " << rExc.Message ); + SAL_WARN("stoc", "### exception occurred: " << rExc ); } Reference< XComponent >( xMgr, UNO_QUERY )->dispose(); |