[Libreoffice-commits] core.git: starmath/source

Takeshi Abe tabe at fixedpoint.jp
Mon Apr 27 01:32:01 PDT 2015


 starmath/source/node.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b572cb948d33efc87f0d3d724f5ad62e7e00fe0b
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Mon Apr 27 17:20:00 2015 +0900

    mark them as static
    
    Change-Id: I7c62cce3708e52ca9af1731f453bbe8410b6f771

diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 7880913..70bc753 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2960,8 +2960,8 @@ void SmSpecialNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell
             const OUString& rTmp(GetText());
             if (rTmp.isEmpty())
             {
-                const sal_Unicode cUppercaseAlpha = 0x0391;
-                const sal_Unicode cUppercaseOmega = 0x03A9;
+                static const sal_Unicode cUppercaseAlpha = 0x0391;
+                static const sal_Unicode cUppercaseOmega = 0x03A9;
                 sal_Unicode cChar = rTmp[0];
                 // uppercase letters should be straight and lowercase letters italic
                 bItalic = !(cUppercaseAlpha <= cChar && cChar <= cUppercaseOmega);


More information about the Libreoffice-commits mailing list