diff options
Diffstat (limited to 'starmath/source/rect.cxx')
-rw-r--r-- | starmath/source/rect.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx index 0cd7504e5add..b279be9e534c 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -451,22 +451,22 @@ SmRect & SmRect::ExtendBy(const SmRect &rRect, RectCopyMBL eCopyMode) OSL_ENSURE(HasAlignInfo(), "Sm: ooops..."); switch (eCopyMode) - { case RCP_THIS: + { case RectCopyMBL::This: // already done break; - case RCP_ARG: + case RectCopyMBL::Arg: CopyMBL(rRect); break; - case RCP_NONE: + case RectCopyMBL::None: ClearBaseline(); nAlignM = (nAlignT + nAlignB) / 2; break; - case RCP_XOR: + case RectCopyMBL::Xor: if (!HasBaseline()) CopyMBL(rRect); break; default : - SAL_WARN("starmath", "unknown case"); + assert(false); } } |