summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-22 11:14:12 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-22 12:50:48 +0200
commitdffc29614f84200006bff8dff768ddd123cc3237 (patch)
tree87d5f0fb7942f0a29fd56f99d476e10338a47a52 /stoc
parent9dd8a62147ad5cd48cf4b14b35e77871a0daf413 (diff)
cppcheck: fprintf format string requires 1 parameter but only 0 are given
Change-Id: I31a5a4e2bad79cfc425fb712688794a4a1dc4f60
Diffstat (limited to 'stoc')
-rw-r--r--stoc/test/testcorefl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx
index 3a049050b99b..d958301beaf7 100644
--- a/stoc/test/testcorefl.cxx
+++ b/stoc/test/testcorefl.cxx
@@ -228,7 +228,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
try
{
- fprintf( stderr, "%1\n" );
+ SAL_WARN( "stoc", "case 1" );
Any bla = xRefl->forName("ModuleA.StructC")->getField(OUString("aString"))->get(Any());
OSL_ENSURE(sal_False, "test_RegCoreReflection(): error 63");
return sal_False;
@@ -239,7 +239,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
try
{
- fprintf( stderr, "%2\n" );
+ SAL_WARN( "stoc", "case 2" );
Any blup;
blup <<= aStructC;
Any gulp;
@@ -254,7 +254,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
try
{
- fprintf( stderr, "%3\n" );
+ SAL_WARN( "stoc", "case 3" );
Any gulp;
gulp <<= 3.14f;
Any blup;
@@ -280,7 +280,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
try
{
Sequence< Any > params;
- fprintf( stderr, "%4\n" );
+ SAL_WARN( "stoc", "case 4" );
Any a;
a <<= xAI;