summaryrefslogtreecommitdiffstats
path: root/kabc/tests/testaddressfmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/tests/testaddressfmt.cpp')
-rw-r--r--kabc/tests/testaddressfmt.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kabc/tests/testaddressfmt.cpp b/kabc/tests/testaddressfmt.cpp
index f422ab692..ad0aebc18 100644
--- a/kabc/tests/testaddressfmt.cpp
+++ b/kabc/tests/testaddressfmt.cpp
@@ -51,13 +51,13 @@ int main(int argc,char **argv)
d.setCountry ("");
qDebug( "-------------------------------------\nShould have german address formatting, local country formatting\n" );
- qDebug( a.formattedAddress("Jim Knopf").latin1() );
+ qDebug( "%s", a.formattedAddress("Jim Knopf").latin1() );
qDebug( "-------------------------------------\nShould have US address formatting, local country formatting\n" );
- qDebug( b.formattedAddress("Huck Finn").latin1() );
+ qDebug( "%s", b.formattedAddress("Huck Finn").latin1() );
qDebug( "-------------------------------------\nShould have german address formatting, local country formatting\n" );
- qDebug( c.formattedAddress("Jim Knopf").latin1() );
+ qDebug( "%s", c.formattedAddress("Jim Knopf").latin1() );
qDebug( "-------------------------------------\nShould have local address formatting, local country formatting\n" );
- qDebug( d.formattedAddress("Jim Knopf").latin1() );
+ qDebug( "%s", d.formattedAddress("Jim Knopf").latin1() );
}