summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-07-08 15:54:24 +0900
committerTor Lillqvist <tml@collabora.com>2016-08-02 16:44:14 +0300
commitee38b8f4bd15f5dae85a02b9d0d47cf8bdcd4b1b (patch)
tree6d7d49cfa5a3188a3a5214edc895d917f3f37c07
parente2b0af57dfeb152339b88af320d30ae3bb052141 (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) (cherry picked from commit ccc92a4706c2fa72a17e736cff8fbf70cec2b2f9)
-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;