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@gmail.com>
Tested-by: Noel Grandin <noelgrandin@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