summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_spritedevicehelper.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2015-08-09 21:14:53 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-08-10 17:14:18 +0000
commit326777b5d91a7e269bb4dfa38a3263769e0b99b3 (patch)
treee56769523219b8c25143999b39122f7ff87948ca /canvas/source/directx/dx_spritedevicehelper.cxx
parent3e47219e06b9a279ba22a9bbef668731f2d3e07d (diff)
remove VERBOSE use from canva
in preparation to kill --enable-verbose in configure.ac convert modules that use VERBOSE-YES/NO (uppercase) env variable to do things differently at compile time Convert canvas to use SAL_INFO/SAL_WARN mechanism instead of its home-grown 'verbose logging'. Change-Id: I2898d2309d421457839e3cd7078166c6da919882 Reviewed-on: https://gerrit.libreoffice.org/17619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'canvas/source/directx/dx_spritedevicehelper.cxx')
-rw-r--r--canvas/source/directx/dx_spritedevicehelper.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/canvas/source/directx/dx_spritedevicehelper.cxx b/canvas/source/directx/dx_spritedevicehelper.cxx
index e9d5bb4546c2..6664f23c6796 100644
--- a/canvas/source/directx/dx_spritedevicehelper.cxx
+++ b/canvas/source/directx/dx_spritedevicehelper.cxx
@@ -19,8 +19,6 @@
#include <ctype.h>
#include <vcl/window.hxx>
-#include <canvas/debug.hxx>
-#include <canvas/verbosetrace.hxx>
#include <canvas/canvastools.hxx>
#include <tools/diagnose_ex.h>
@@ -164,13 +162,13 @@ namespace dxcanvas
sal_Bool SpriteDeviceHelper::showBuffer( bool, sal_Bool )
{
- OSL_FAIL("Not supposed to be called, handled by SpriteCanvas");
+ SAL_WARN("canvas.directx", "Not supposed to be called, handled by SpriteCanvas");
return sal_False;
}
sal_Bool SpriteDeviceHelper::switchBuffer( bool, sal_Bool )
{
- OSL_FAIL("Not supposed to be called, handled by SpriteCanvas");
+ SAL_WARN("canvas.directx", "Not supposed to be called, handled by SpriteCanvas");
return sal_False;
}