[Libreoffice-commits] core.git: sw/qa

Miklos Vajna vmiklos at suse.cz
Thu May 23 01:37:26 PDT 2013


 sw/qa/extras/inc/swmodeltestbase.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit bf4fb4d4146ca51bd706ef8094adef628f3a48ec
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Thu May 23 10:34:33 2013 +0200

    SwModelTestBase: avoid not needed SAL_PRIuUINT32
    
    Change-Id: Id3aa47866fb753fb6a08d9dfcfb0ecb34d4a4770

diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index 3f0fab8..9f8d8b5 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);


More information about the Libreoffice-commits mailing list