fix a test that was suppressed because #9002
This commit is contained in:
parent
08b0fa21a7
commit
aa380e0de1
|
@ -364,15 +364,11 @@ public:
|
||||||
|
|
||||||
void MacroTest2_test()
|
void MacroTest2_test()
|
||||||
{
|
{
|
||||||
// TODO: remove suppression when #9002 is fixed
|
|
||||||
// cppcheck-suppress checkLibraryFunction
|
|
||||||
QString str = MacroTest2::tr("hello");
|
QString str = MacroTest2::tr("hello");
|
||||||
QByteArray ba = str.toLatin1();
|
QByteArray ba = str.toLatin1();
|
||||||
printf(ba.data());
|
printf(ba.data());
|
||||||
|
|
||||||
#ifndef QT_NO_DEPRECATED
|
#ifndef QT_NO_DEPRECATED
|
||||||
// TODO: remove suppression when #9002 is fixed
|
|
||||||
// cppcheck-suppress checkLibraryFunction
|
|
||||||
str = MacroTest2::trUtf8("test2");
|
str = MacroTest2::trUtf8("test2");
|
||||||
ba = str.toLatin1();
|
ba = str.toLatin1();
|
||||||
printf(ba.data());
|
printf(ba.data());
|
||||||
|
|
Loading…
Reference in New Issue