diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-09 15:48:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-11 18:56:16 +0000 |
commit | 4ef9ccea6c4aa79cdc57dea52b47775c346696ec (patch) | |
tree | ad3b4dd30484436c595990bd8994f94477b9492b /stoc/test/javavm | |
parent | 4282ea67c2e90222f141df8213b06dfed09d4c85 (diff) |
OSL_TRACE -> SAL in sfx2..svx
Change-Id: I78cf8058a5682baa3d7b00a25feeb2d28fb3e66e
Reviewed-on: https://gerrit.libreoffice.org/31799
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc/test/javavm')
-rw-r--r-- | stoc/test/javavm/testjavavm.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx index 827a93cfb63e..f856f76dc2a8 100644 --- a/stoc/test/javavm/testjavavm.cxx +++ b/stoc/test/javavm/testjavavm.cxx @@ -89,7 +89,7 @@ sal_Bool testJavaVM(const Reference< XMultiServiceFactory > & xMgr ) jclass cls = p_env->FindClass( "TestJavaVM"); if (cls == 0) { - OSL_TRACE( "Can't find Prog class"); + SAL_WARN("stoc", "Can't find Prog class"); exit(1); } @@ -139,10 +139,7 @@ SAL_IMPLEMENT_MAIN() catch (const Exception & rExc) { OSL_FAIL( "### exception occurred!" ); - OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "### exception occurred: " ); - OSL_TRACE( "%s", aMsg.getStr() ); - OSL_TRACE( "\n" ); + SAL_WARN("stoc", "### exception occurred: " << rExc.Message ); } Reference< XComponent > xCompContext( context, UNO_QUERY ); |