diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 1b32cf93bb91..2d0514b1d3eb 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -2709,7 +2709,7 @@ void SmSpecialNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell else if (nStyle == 2) { const OUString& rTmp(GetText()); - if (rTmp.isEmpty()) + if (!rTmp.isEmpty()) { static const sal_Unicode cUppercaseAlpha = 0x0391; static const sal_Unicode cUppercaseOmega = 0x03A9;