From ccc92a4706c2fa72a17e736cff8fbf70cec2b2f9 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Fri, 8 Jul 2016 15:54:24 +0900 Subject: starmath: Fix missing negation which was a regression from fa614231733800f4a961b77e36c86f8840d12251. Change-Id: Ia7bab72dbd6f82519024809cf6384e1442a02327 Reviewed-on: https://gerrit.libreoffice.org/27033 Tested-by: Jenkins Reviewed-by: David Tardon (cherry picked from commit 2fcb8022a22b55b6680af57f2b101d56a3d88e36) --- starmath/source/node.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index dc021cb6c06b..451d3de63af1 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -2893,7 +2893,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; -- cgit