summaryrefslogtreecommitdiff
path: root/include/canvas
diff options
context:
space:
mode:
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 );