summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-07-08 15:54:24 +0900
committerCaolán McNamara <caolanm@redhat.com>2016-07-08 13:14:15 +0100
commitccc92a4706c2fa72a17e736cff8fbf70cec2b2f9 (patch)
treeeed593e776341eef9ab4b0830237a23fadcec170
parentfad4d7877ac8d04ab82e8acd21205f315d6eab1f (diff)
starmath: Fix missing negation
which was a regression from fa614231733800f4a961b77e36c86f8840d12251. Change-Id: Ia7bab72dbd6f82519024809cf6384e1442a02327 Reviewed-on: https://gerrit.libreoffice.org/27033 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 2fcb8022a22b55b6680af57f2b101d56a3d88e36)
-rw-r--r--starmath/source/node.cxx2
1 files changed, 1 insertions, 1 deletions
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;