summaryrefslogtreecommitdiff
path: root/canvas/inc/canvas/canvastools.hxx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2011-07-26 23:42:25 +0200
committerThorsten Behrens <tbehrens@novell.com>2011-07-26 23:56:14 +0200
commite563f1401a58c0d119a43e0678e1e894a9ba13eb (patch)
tree5aec1c554f4e40ea66ea8dc9123f8adcc28caf1c /canvas/inc/canvas/canvastools.hxx
parentde103dcd002087d433f166b592b4ff22ebb743cc (diff)
Removed weird VERBOSE overload in canvas
Now doing extra logging / graphical debug cues via OSL_DEBUG_LEVEL of 3. Also saves some lines in makefiles.
Diffstat (limited to 'canvas/inc/canvas/canvastools.hxx')
-rw-r--r--canvas/inc/canvas/canvastools.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/inc/canvas/canvastools.hxx b/canvas/inc/canvas/canvastools.hxx
index 018fdfdc33e0..9138ea4734fe 100644
--- a/canvas/inc/canvas/canvastools.hxx
+++ b/canvas/inc/canvas/canvastools.hxx
@@ -483,7 +483,7 @@ namespace canvas
( SourceLimits::is_signed && arg<TargetLimits::min()) || // underflow will happen
( arg>TargetLimits::max() ) ) // overflow will happen
{
-#if defined(VERBOSE) && defined(DBG_UTIL)
+# if OSL_DEBUG_LEVEL > 2
OSL_TRACE("numeric_cast detected data loss");
#endif
throw ::com::sun::star::uno::RuntimeException(