summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-05-12 17:57:50 +0200
committerEike Rathke <erack@redhat.com>2016-05-12 17:59:02 +0200
commite74de117e5b2fd944ac3e0dd5368315331a0d351 (patch)
tree8b584c5fb88ab2678b2624996fcb4d1af1578b89 /sc
parentc0977216d79a15dadbcf1c6805e7d50f83e0265f (diff)
if we can't use assert() as intended then use SAL_WARN()
Change-Id: I5b8d4a8054fb2cfbab2b762371e52fac73cf5e55
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/output2.cxx4
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;