summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-04-27 17:20:00 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2015-04-27 17:31:14 +0900
commitb572cb948d33efc87f0d3d724f5ad62e7e00fe0b (patch)
treeb4db5e6b39641e564bbeefa0a56f996834460101 /starmath
parente695f645a4a31ec137ed6a445b7be3d4e3414774 (diff)
mark them as static
Change-Id: I7c62cce3708e52ca9af1731f453bbe8410b6f771
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/node.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 7880913600c0..70bc753c0f9b 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);