diff options
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r-- | starmath/source/node.cxx | 4 |
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); |