diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 12:51:35 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:19:49 +0100 |
commit | d0c187cc8cc78b661726dad8a75d20af595085f1 (patch) | |
tree | 4940c13a4f891127a4b4e426f10f25e340790ac2 /stoc/test | |
parent | Move OSL_ENSURE(0,...) to OSL_FAIL(...) (diff) | |
download | core-d0c187cc8cc78b661726dad8a75d20af595085f1.tar.gz core-d0c187cc8cc78b661726dad8a75d20af595085f1.zip |
OSL_TRACE: Use format string
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 f3ff52851e7c..2cffe1541b66 100644 --- a/stoc/test/javavm/testjavavm.cxx +++ b/stoc/test/javavm/testjavavm.cxx @@ -158,7 +158,7 @@ SAL_IMPLEMENT_MAIN() OSL_ENSURE( sal_False, "### exception occurred!" ); OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); OSL_TRACE( "### exception occurred: " ); - OSL_TRACE( aMsg.getStr() ); + OSL_TRACE( "%s", aMsg.getStr() ); OSL_TRACE( "\n" ); } diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx index d8c0dd359e6a..f847b855fe88 100644 --- a/stoc/test/testconv.cxx +++ b/stoc/test/testconv.cxx @@ -699,7 +699,7 @@ SAL_IMPLEMENT_MAIN() OSL_ENSURE( sal_False, "### exception occurred!" ); OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); OSL_TRACE( "### exception occurred: " ); - OSL_TRACE( aMsg.getStr() ); + OSL_TRACE( "%s", aMsg.getStr() ); OSL_TRACE( "\n" ); } diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx index 63bde05d44e2..e43687c92f5b 100644 --- a/stoc/test/testcorefl.cxx +++ b/stoc/test/testcorefl.cxx @@ -407,7 +407,7 @@ SAL_IMPLEMENT_MAIN() OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); OSL_TRACE( "### exception occurred: " ); - OSL_TRACE( aMsg.getStr() ); + OSL_TRACE( "%s", aMsg.getStr() ); OSL_TRACE( "\n" ); } diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index 9a075333fac6..000d95279983 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -1244,7 +1244,7 @@ SAL_IMPLEMENT_MAIN() OSL_ENSURE( sal_False, "### exception occurred!" ); OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); OSL_TRACE( "### exception occurred: " ); - OSL_TRACE( aMsg.getStr() ); + OSL_TRACE( "%s", aMsg.getStr() ); OSL_TRACE( "\n" ); } |