diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/dialog.cxx | 2 | ||||
-rw-r--r-- | starmath/source/mathmlattr.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index eea95ab3c490..279f99a5e734 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -126,7 +126,7 @@ const OUString& SmFontStyles::GetStyleName( sal_uInt16 nIdx ) const } } -const SmFontStyles & GetFontStyles() +static const SmFontStyles & GetFontStyles() { static const SmFontStyles aImpl; return aImpl; diff --git a/starmath/source/mathmlattr.cxx b/starmath/source/mathmlattr.cxx index 344c079b35e9..a65e8d3f9a36 100644 --- a/starmath/source/mathmlattr.cxx +++ b/starmath/source/mathmlattr.cxx @@ -12,7 +12,7 @@ #include <cassert> #include <unordered_map> -sal_Int32 ParseMathMLUnsignedNumber(const OUString &rStr, Fraction& rUN) +static sal_Int32 ParseMathMLUnsignedNumber(const OUString &rStr, Fraction& rUN) { auto nLen = rStr.getLength(); sal_Int32 nDecimalPoint = -1; @@ -38,7 +38,7 @@ sal_Int32 ParseMathMLUnsignedNumber(const OUString &rStr, Fraction& rUN) return nIdx; } -sal_Int32 ParseMathMLNumber(const OUString &rStr, Fraction& rN) +static sal_Int32 ParseMathMLNumber(const OUString &rStr, Fraction& rN) { if (rStr.isEmpty()) return -1; |