summaryrefslogtreecommitdiff
path: root/sw/qa/extras/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-05-23 10:34:33 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-05-23 10:37:09 +0200
commitbf4fb4d4146ca51bd706ef8094adef628f3a48ec (patch)
tree1d6bf9a895b699f3f368adc545359130983b3653 /sw/qa/extras/inc
parentcc1c3d183b54f014e6d8a9bd3dd449e8233a79e6 (diff)
SwModelTestBase: avoid not needed SAL_PRIuUINT32
Change-Id: Id3aa47866fb753fb6a08d9dfcfb0ecb34d4a4770
Diffstat (limited to 'sw/qa/extras/inc')
-rw-r--r--sw/qa/extras/inc/swmodeltestbase.hxx6
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);