Kaydet (Commit) bf4fb4d4 authored tarafından Miklos Vajna's avatar Miklos Vajna

SwModelTestBase: avoid not needed SAL_PRIuUINT32

Change-Id: Id3aa47866fb753fb6a08d9dfcfb0ecb34d4a4770
üst cc1c3d18
...@@ -259,13 +259,13 @@ protected: ...@@ -259,13 +259,13 @@ protected:
void header() 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) 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. // 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(); m_nStartTime = osl_getGlobalTimer();
mxComponent = loadFromDesktop(getURLFromSrc(pDir) + OUString::createFromAscii(pName), "com.sun.star.text.TextDocument"); mxComponent = loadFromDesktop(getURLFromSrc(pDir) + OUString::createFromAscii(pName), "com.sun.star.text.TextDocument");
if (bCalcLayout) if (bCalcLayout)
...@@ -306,7 +306,7 @@ protected: ...@@ -306,7 +306,7 @@ protected:
void finish() void finish()
{ {
sal_uInt32 nEndTime = osl_getGlobalTimer(); sal_uInt32 nEndTime = osl_getGlobalTimer();
fprintf(stderr, "%" SAL_PRIuUINT32"\n", nEndTime - m_nStartTime); std::cerr << (nEndTime - m_nStartTime) << std::endl;
if (mpXmlBuffer) if (mpXmlBuffer)
{ {
xmlBufferFree(mpXmlBuffer); xmlBufferFree(mpXmlBuffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment