[Libreoffice-commits] core.git: canvas/source

Tor Lillqvist tml at collabora.com
Tue Feb 2 06:46:06 UTC 2016


 canvas/source/vcl/spritecanvashelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 37b465b3ee57d888dffbf1faca5978a3b4ff3075
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Feb 2 08:42:25 2016 +0200

    Remove leftover printf-style %f
    
    But seriously, who builds with OSL_DEBUG_LEVEL > 2?
    
    Either debugging printouts inside such ifdefs are completely pointless
    and should be removed, or then the information might actually be
    useful, and the ifdefs should be removed, so that the information can
    be selected to be printed using the normal SAL_LOG environment
    variable mechanism (in a build where SAL_INFO is functional).
    
    Change-Id: Ia5d2c7c7b525ed133fe3f077a005f583b8a856e7

diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx
index 22637d8..c7aee1f 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -294,7 +294,7 @@ namespace vclcanvas
         static ::canvas::tools::ElapsedTime aElapsedTime;
 
         // log time immediately after surface flip
-        SAL_INFO("canvas.vcl", "SpriteCanvasHelper::updateScreen(): flip done at %f"<<
+        SAL_INFO("canvas.vcl", "SpriteCanvasHelper::updateScreen(): flip done at " <<
                    aElapsedTime.getElapsedTime() );
 #endif
 


More information about the Libreoffice-commits mailing list