diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-05-20 15:49:04 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-05-21 00:34:53 +0000 |
commit | 31cfb242375c62e2ee5cbbf08eae7aaffb834dfe (patch) | |
tree | a43491abdadad01f0b60a3bbbbfba9260910bdec /starmath | |
parent | 27b6cdb5ab5af33dbba561923c8db81e144c88b9 (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')
-rw-r--r-- | starmath/inc/types.hxx | 5 | ||||
-rw-r--r-- | starmath/source/mathmlexport.cxx | 6 |
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; |