[Libreoffice-commits] core.git: canvas/source
aybuke
aybuke.147 at gmail.com
Tue Feb 2 06:10:58 UTC 2016
canvas/source/vcl/spritecanvas.cxx | 4 ++--
canvas/source/vcl/spritecanvashelper.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 91c072b473beadda01a38dbc26086207c7b4d145
Author: aybuke <aybuke.147 at gmail.com>
Date: Mon Feb 1 15:00:26 2016 +0200
tdf#43157: Fix format string violations in OSL_TRACE etc.
Change-Id: Idffbfb78b2386020fd099077a67bf8a89917bdab
Reviewed-on: https://gerrit.libreoffice.org/21999
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/canvas/source/vcl/spritecanvas.cxx b/canvas/source/vcl/spritecanvas.cxx
index 39e3ad7..268ff37 100644
--- a/canvas/source/vcl/spritecanvas.cxx
+++ b/canvas/source/vcl/spritecanvas.cxx
@@ -56,7 +56,7 @@ namespace vclcanvas
if( maArguments.getLength() == 0 )
return;
- OSL_TRACE( "SpriteCanvas created" );
+ SAL_INFO("canvas.vcl", "SpriteCanvas created" );
// add our own property to GraphicDevice
maPropHelper.addProperties(
@@ -105,7 +105,7 @@ namespace vclcanvas
SpriteCanvas::~SpriteCanvas()
{
- OSL_TRACE( "SpriteCanvas destroyed" );
+ SAL_INFO("canvas.vcl", "SpriteCanvas destroyed" );
}
diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx
index 892b241..22637d8 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
- OSL_TRACE( "SpriteCanvasHelper::updateScreen(): flip done at %f",
+ SAL_INFO("canvas.vcl", "SpriteCanvasHelper::updateScreen(): flip done at %f"<<
aElapsedTime.getElapsedTime() );
#endif
More information about the Libreoffice-commits
mailing list