[Libreoffice-commits] core.git: Branch 'libreoffice-5-2-0' - starmath/source

Takeshi Abe tabe at fixedpoint.jp
Fri Jul 22 08:54:56 UTC 2016


 starmath/source/node.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6efbaac8e1eb86d9fd3751b2422964c8d17bf589
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri Jul 8 15:54:24 2016 +0900

    starmath: Fix missing negation
    
    which was a regression from fa614231733800f4a961b77e36c86f8840d12251.
    
    Change-Id: Ia7bab72dbd6f82519024809cf6384e1442a02327
    Reviewed-on: https://gerrit.libreoffice.org/27033
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: David Tardon <dtardon at redhat.com>
    (cherry picked from commit 2fcb8022a22b55b6680af57f2b101d56a3d88e36)
    Reviewed-on: https://gerrit.libreoffice.org/27329
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 71c48ba..da9d861 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2737,7 +2737,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;


More information about the Libreoffice-commits mailing list