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

New commits:
commit b572cb948d33efc87f0d3d724f5ad62e7e00fe0b
Author: Takeshi Abe <t...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to