diff options
Diffstat (limited to 'sw/qa/extras/inc')
-rw-r--r-- | sw/qa/extras/inc/swmodeltestbase.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx index 3f0fab8c8545..9f8d8b590ad6 100644 --- a/sw/qa/extras/inc/swmodeltestbase.hxx +++ b/sw/qa/extras/inc/swmodeltestbase.hxx @@ -259,13 +259,13 @@ protected: void header() { - fprintf(stderr, "File tested,Execution Time (ms)\n"); + std::cerr << "File tested,Execution Time (ms)" << std::endl; } void load(const char* pDir, const char* pName, bool bCalcLayout = true) { // Output name early, so in the case of a hang, the name of the hanging input file is visible. - fprintf(stderr, "%s,", pName); + std::cerr << pName << ","; m_nStartTime = osl_getGlobalTimer(); mxComponent = loadFromDesktop(getURLFromSrc(pDir) + OUString::createFromAscii(pName), "com.sun.star.text.TextDocument"); if (bCalcLayout) @@ -306,7 +306,7 @@ protected: void finish() { sal_uInt32 nEndTime = osl_getGlobalTimer(); - fprintf(stderr, "%" SAL_PRIuUINT32"\n", nEndTime - m_nStartTime); + std::cerr << (nEndTime - m_nStartTime) << std::endl; if (mpXmlBuffer) { xmlBufferFree(mpXmlBuffer); |