diff options
Diffstat (limited to 'toolkit/source/helper/vclunohelper.cxx')
-rw-r--r-- | toolkit/source/helper/vclunohelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx index e2755f8a8112..7f8de3e25e59 100644 --- a/toolkit/source/helper/vclunohelper.cxx +++ b/toolkit/source/helper/vclunohelper.cxx @@ -444,7 +444,7 @@ MapUnit VCLUnoHelper::UnoEmbed2VCLMapUnit( sal_Int32 nUnoEmbedMapUnit ) return MAP_PIXEL; } - OSL_ENSURE( sal_False, "Unexpected UNO map mode is provided!\n" ); + OSL_FAIL( "Unexpected UNO map mode is provided!\n" ); return MAP_LASTENUMDUMMY; } @@ -477,7 +477,7 @@ sal_Int32 VCLUnoHelper::VCL2UnoEmbedMapUnit( MapUnit nVCLMapUnit ) default: ; // avoid compiler warning } - OSL_ENSURE( sal_False, "Unexpected VCL map mode is provided!\n" ); + OSL_FAIL( "Unexpected VCL map mode is provided!\n" ); return -1; } |