summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-05-20 15:49:04 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-05-21 00:34:53 +0000
commit31cfb242375c62e2ee5cbbf08eae7aaffb834dfe (patch)
treea43491abdadad01f0b60a3bbbbfba9260910bdec /starmath/source
parent27b6cdb5ab5af33dbba561923c8db81e144c88b9 (diff)
starmath: These functions are used in local only
Change-Id: I603be0a0890844019700f402ae79203ddc86c952 Reviewed-on: https://gerrit.libreoffice.org/25186 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/mathmlexport.cxx6
1 files changed, 6 insertions, 0 deletions
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;