From 722d0c8b9df2cddd2f783076ca626329909218f4 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 25 May 2024 11:27:29 +0200 Subject: tdf#43157 Use SAL_WARN instead of OSL_FAIL Change-Id: I753254e2e6963e78420288d4c4919cb24282ac81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168128 Reviewed-by: Gabor Kelemen Tested-by: Jenkins --- include/canvas/canvastools.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/canvas') diff --git a/include/canvas/canvastools.hxx b/include/canvas/canvastools.hxx index 8d0c4ed7e0e3..cf9ca35180e6 100644 --- a/include/canvas/canvastools.hxx +++ b/include/canvas/canvastools.hxx @@ -22,7 +22,6 @@ #include #include #include -#include #include #include @@ -470,7 +469,7 @@ namespace canvas { SAL_WARN("canvas", "ValueMap::ValueMap(): Map is not sorted, keys are wrong, " << pMap[0].maKey << " and " << pMap[1].maKey); - OSL_FAIL( "ValueMap::ValueMap(): Map is not sorted" ); + SAL_WARN("canvas", "ValueMap::ValueMap(): Map is not sorted" ); } const OString aStr2( pMap[1].maKey ); -- cgit