diff options
author | Eike Rathke <erack@redhat.com> | 2016-05-12 17:57:50 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-05-12 17:59:02 +0200 |
commit | e74de117e5b2fd944ac3e0dd5368315331a0d351 (patch) | |
tree | 8b584c5fb88ab2678b2624996fcb4d1af1578b89 /sc/source/ui/view | |
parent | c0977216d79a15dadbcf1c6805e7d50f83e0265f (diff) |
if we can't use assert() as intended then use SAL_WARN()
Change-Id: I5b8d4a8054fb2cfbab2b762371e52fac73cf5e55
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/output2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |