[Libreoffice-commits] online.git: kit/Kit.cpp

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 3 14:03:01 UTC 2020


 kit/Kit.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 4ac9bd5c1b6b9485ae471c1ecf099628011352c8
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Jul 3 16:27:53 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Jul 3 16:02:42 2020 +0200

    Fix a couple uses of misleading function names in logging
    
    Change-Id: Id7be123b1183a9e21383eb4ac894d3bd88691f5a
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97867
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 16b2febb6..5eefa30f9 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -1032,7 +1032,7 @@ public:
         auto duration = std::chrono::system_clock::now() - start;
         auto elapsed = std::chrono::duration_cast<std::chrono::microseconds>(duration).count();
         double totalTime = elapsed/1000.;
-        LOG_DBG("paintTile (combined) at (" << renderArea.getLeft() << ", " << renderArea.getTop() << "), (" <<
+        LOG_DBG("paintPartTile at (" << renderArea.getLeft() << ", " << renderArea.getTop() << "), (" <<
                 renderArea.getWidth() << ", " << renderArea.getHeight() << ") " <<
                 " rendered in " << totalTime << " ms (" << area / elapsed << " MP/s).");
         const auto mode = static_cast<LibreOfficeKitTileMode>(_loKitDocument->getTileMode());
@@ -1175,9 +1175,9 @@ public:
         duration = std::chrono::system_clock::now() - start;
         elapsed = std::chrono::duration_cast<std::chrono::microseconds>(duration).count();
         totalTime = elapsed/1000.;
-        LOG_DBG("renderCombinedTiles at (" << renderArea.getLeft() << ", " << renderArea.getTop() << "), (" <<
+        LOG_DBG("renderTiles at (" << renderArea.getLeft() << ", " << renderArea.getTop() << "), (" <<
                 renderArea.getWidth() << ", " << renderArea.getHeight() << ") " <<
-                " took " << totalTime << " ms (including the paintTile).");
+                " took " << totalTime << " ms (including the paintPartTile).");
 
         if (tileIndex == 0)
         {


More information about the Libreoffice-commits mailing list