From e74de117e5b2fd944ac3e0dd5368315331a0d351 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 12 May 2016 17:57:50 +0200 Subject: if we can't use assert() as intended then use SAL_WARN() Change-Id: I5b8d4a8054fb2cfbab2b762371e52fac73cf5e55 --- sc/source/ui/view/output2.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/view') diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 2cc4f5a479e8..1c42deca1d1e 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -2633,8 +2633,8 @@ void ScOutputData::DrawEditParam::setAlignmentToEngine() { case SVX_HOR_JUSTIFY_REPEAT: // repeat is not yet implemented case SVX_HOR_JUSTIFY_STANDARD: - assert(!"meHorJustResult does not match getAlignmentFromContext()"); - // fallthru + SAL_WARN("sc.ui","meHorJustResult does not match getAlignmentFromContext()"); + SAL_FALLTHROUGH; case SVX_HOR_JUSTIFY_LEFT: eSvxAdjust = SVX_ADJUST_LEFT; break; -- cgit