diff options
-rw-r--r-- | starmath/source/rect.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx index 54ceb6eda4bb..511f4f68483b 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -480,11 +480,12 @@ SmRect & SmRect::ExtendBy(const SmRect &rRect, RectCopyMBL eCopyMode) if (!HasAlignInfo()) CopyAlignInfo(rRect); else if (rRect.HasAlignInfo()) - { nAlignT = std::min(GetAlignT(), rRect.GetAlignT()); + { + assert(HasAlignInfo()); + nAlignT = std::min(GetAlignT(), rRect.GetAlignT()); nAlignB = std::max(GetAlignB(), rRect.GetAlignB()); nHiAttrFence = std::min(GetHiAttrFence(), rRect.GetHiAttrFence()); nLoAttrFence = std::max(GetLoAttrFence(), rRect.GetLoAttrFence()); - OSL_ENSURE(HasAlignInfo(), "Sm: ooops..."); switch (eCopyMode) { case RectCopyMBL::This: |