summaryrefslogtreecommitdiff
path: root/include/canvas
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-05-25 11:27:29 +0200
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-07-20 12:32:12 +0200
commit722d0c8b9df2cddd2f783076ca626329909218f4 (patch)
tree608f0508ccccd80308fa7fa540d80289fcacae92 /include/canvas
parent78dff684cbf390191516a3c889822a685dbc51c2 (diff)
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 <gabor.kelemen.extern@allotropia.de> Tested-by: Jenkins
Diffstat (limited to 'include/canvas')
-rw-r--r--include/canvas/canvastools.hxx3
1 files changed, 1 insertions, 2 deletions
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 <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
-#include <osl/diagnose.h>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
@@ -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 );