From 2fcb8022a22b55b6680af57f2b101d56a3d88e36 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Fri, 8 Jul 2016 15:54:24 +0900 Subject: [PATCH] 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 --- 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 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;