canvas/source/vcl/spritecanvashelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 37b465b3ee57d888dffbf1faca5978a3b4ff3075 Author: Tor Lillqvist <[email protected]> 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 _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
