diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-06-11 19:05:15 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:26:08 -0400 |
commit | d48ceabd7aef42580d70c680ac863f497b146cca (patch) | |
tree | 9d4febf66436e428baae359dbf9e1da2a2301acc /vcl | |
parent | 0b7e86ac50139747432bd0f15a363a4f71e6a322 (diff) |
convert DBG_ASSERT(false, to SAL_WARN(
Change-Id: I400d728c5d99228c5ca52e369037395b4da2af5c
Reviewed-on: https://gerrit.libreoffice.org/26187
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
(cherry picked from commit ab10f9fc11948ca0f463aa8c0c784a574c89f8f7)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/map.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/map.cxx b/vcl/source/outdev/map.cxx index 1a0b2799ab66..fc65de487843 100644 --- a/vcl/source/outdev/map.cxx +++ b/vcl/source/outdev/map.cxx @@ -51,7 +51,7 @@ static Fraction ImplMakeFraction( long nN1, long nN2, long nD1, long nD2 ) { if( nD1 == 0 || nD2 == 0 ) //under these bad circumstances the following while loop will be endless { - DBG_ASSERT(false,"Invalid parameter for ImplMakeFraction"); + SAL_WARN("vcl", "Invalid parameter for ImplMakeFraction"); return Fraction( 1, 1 ); } |