summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-07-08 15:54:24 +0900
committerDavid Tardon <dtardon@redhat.com>2016-07-08 11:43:22 +0000
commit2fcb8022a22b55b6680af57f2b101d56a3d88e36 (patch)
tree05d875bb3801cdac1ad45c77012eb9287bac6562 /starmath
parentaac93f19ada5fca1b4239030dc010b52c8a537b2 (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>
Diffstat (limited to 'starmath')
-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 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;