summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authoraybuke <aybuke.147@gmail.com>2016-02-01 15:00:26 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-02 06:10:21 +0000
commit91c072b473beadda01a38dbc26086207c7b4d145 (patch)
tree7ed9f84c5a422ab4b05ef0824c0bdff5785d974d /canvas
parent8e43d1c5d16c5aca294b58c4688e2acd1eda93ba (diff)
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>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/spritecanvas.cxx4
-rw-r--r--canvas/source/vcl/spritecanvashelper.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/vcl/spritecanvas.cxx b/canvas/source/vcl/spritecanvas.cxx
index 39e3ad746944..268ff3766981 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 892b241c7281..22637d81ea56 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