summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/inc/types.hxx5
-rw-r--r--starmath/source/mathmlexport.cxx6
2 files changed, 6 insertions, 5 deletions
diff --git a/starmath/inc/types.hxx b/starmath/inc/types.hxx
index 73b26fefcecd..9d57536260ba 100644
--- a/starmath/inc/types.hxx
+++ b/starmath/inc/types.hxx
@@ -27,11 +27,6 @@
enum SmPrintSize { PRINT_SIZE_NORMAL, PRINT_SIZE_SCALED, PRINT_SIZE_ZOOMED };
-inline bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar && cChar <= 0xF8FF; }
-
-sal_Unicode ConvertMathToMathML( sal_Unicode cChar );
-
-
// definitions for characters from the 'StarSymbol' font
// (some chars have more than one alias!)
//! Note: not listed here does not(!) mean "not used"
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index b17523675ec1..4fd66bc61c40 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -80,6 +80,10 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star;
using namespace ::xmloff::token;
+namespace {
+
+inline bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar && cChar <= 0xF8FF; }
+
sal_Unicode ConvertMathToMathML( sal_Unicode cChar )
{
sal_Unicode cRes = cChar;
@@ -91,6 +95,8 @@ sal_Unicode ConvertMathToMathML( sal_Unicode cChar )
return cRes;
}
+}
+
bool SmXMLExportWrapper::Export(SfxMedium &rMedium)
{
bool bRet=true;