include/canvas/canvastools.hxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 722d0c8b9df2cddd2f783076ca626329909218f4
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Sat May 25 11:27:29 2024 +0200
Commit:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
CommitDate: Sat Jul 20 12:32:12 2024 +0200

    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.ext...@allotropia.de>
    Tested-by: Jenkins

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 );

Reply via email to